A data object containing a device's azimuth relative to true or magnetic north.
- iOS 3.0+
- macOS 10.7+
CLHeading object contains heading data generated by a
CLLocation object. The heading data consists of computed values for true and magnetic north. It also includes the raw data for the three-dimensional vector used to compute those values.
Typically, you do not create instances of this class yourself, nor do you subclass it. Instead, you receive instances of this class through the delegate assigned to the
CLLocation object whose
start method you called.