Instance Property

z

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

Declaration

var z: CLHeadingComponentValue { get }

Discussion

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

See Also

Accessing the Raw Heading Data

var x: CLHeadingComponentValue

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

var y: CLHeadingComponentValue

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

typealias 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