CLHeading

A CLHeading object contains heading data generated by a CLLocationManager 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.

Overview

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 CLLocationManager object whose startUpdatingHeading() method you called.

Note

If you want heading objects to contain valid data for the trueHeading property, your location manager object should also be configured to deliver location updates. You can start the delivery of these updates by calling the location manager object’s startUpdatingLocation() method.