Instance Property

x

The geomagnetic data (measured in microteslas) for the x-axis.

Declaration

@property(readonly, nonatomic) CLHeadingComponentValue x;

Discussion

This value represents the x-axis deviation from the magnetic field lines being tracked by the device.

See Also

Accessing the Raw Heading Data

y

The geomagnetic data (measured in microteslas) for the y-axis.

z

The geomagnetic data (measured in microteslas) for the z-axis.

CLHeadingComponentValue

A type used to report magnetic differences reported by the onboard hardware.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software