Use#eastUpSouthQTargetto get the quaternion from target to East-Up-South (EUS) coordinates instead. To determine a value analogous to the heading value, calculate the yaw, pitch, and roll values from#eastUpSouthQTarget. When the device is pointing downwards, i.e. perpendicular to the ground, heading is analoguous to roll, and when the device is upright in the device's default orientation mode, heading is analogous to yaw.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-14 UTC."],[[["\u003cp\u003eSome Cloud Anchor error states, including \u003ccode\u003eGARCloudAnchorStateErrorResolvingLocalizationNoMatch\u003c/code\u003e and \u003ccode\u003eGARCloudAnchorStateErrorServiceUnavailable\u003c/code\u003e, are deprecated in ARCore SDK 1.12 or later and may be replaced with new states.\u003c/p\u003e\n"],["\u003cp\u003eInstead of using \u003ccode\u003eGARGeospatialTransform.heading\u003c/code\u003e and \u003ccode\u003eGARGeospatialTransform.headingAccuracy\u003c/code\u003e, developers should now utilize \u003ccode\u003eeastUpSouthQTarget\u003c/code\u003e and \u003ccode\u003eorientationYawAccuracy\u003c/code\u003e for more accurate and robust orientation data, especially considering device orientation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGARGeospatialTransform.headingAccuracy\u003c/code\u003e is only relevant for transforms from \u003ccode\u003eGAREarth.cameraGeospatialTransform\u003c/code\u003e and is otherwise 0.\u003c/p\u003e\n"]]],[],null,["# Deprecated List\n===============\n\n\n- Member [GARCloudAnchorStateErrorResolvingLocalizationNoMatch](/ar/reference/ios/group/GARCloudAnchorState#garcloudanchorstateerrorresolvinglocalizationnomatch)\nThis error will no longer occur in ARCore SDK 1.12 or later.\n- Member [GARCloudAnchorStateErrorServiceUnavailable](/ar/reference/ios/group/GARCloudAnchorState#garcloudanchorstateerrorserviceunavailable)\nThis error will no longer occur in ARCore SDK 1.12 or later. For hosted anchors, the new [GARCloudAnchorStateErrorHostingServiceUnavailable](/ar/reference/ios/group/GARCloudAnchorState#garcloudanchorstateerrorhostingserviceunavailable) state will be used instead.\n- Member [GARGeospatialTransform.heading](/ar/reference/ios/interface/GARGeospatialTransform#heading)\nUse `#eastUpSouthQTarget` to get the quaternion from target to East-Up-South (EUS) coordinates instead. To determine a value analogous to the heading value, calculate the yaw, pitch, and roll values from `#eastUpSouthQTarget`. When the device is pointing downwards, i.e. perpendicular to the ground, heading is analoguous to roll, and when the device is upright in the device's default orientation mode, heading is analogous to yaw.\n- Member [GARGeospatialTransform.headingAccuracy](/ar/reference/ios/interface/GARGeospatialTransform#headingaccuracy)\nThis is valid only for [GARGeospatialTransform](/ar/reference/ios/interface/GARGeospatialTransform#interface_g_a_r_geospatial_transform) from [GAREarth.cameraGeospatialTransform](/ar/reference/ios/interface/GAREarth#camerageospatialtransform), and is 0 for all other [GARGeospatialTransform](/ar/reference/ios/interface/GARGeospatialTransform#interface_g_a_r_geospatial_transform) objects. To get the yaw uncertainty, use `#orientationYawAccuracy` instead, which is analogous to the heading accuracy when the device is held upright in the default orientation mode.\n\n\u003cbr /\u003e\n\nSummary\n-------"]]