Instance Method

locationManager:didUpdateHeading:

Tells the delegate that the location manager received updated heading information.

Declaration

- (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading;

Parameters

manager

The location manager object that generated the update event.

newHeading

The new heading data.

Discussion

Implementation of this method is optional but expected if you start heading updates using the startUpdatingHeading method.

The location manager object calls this method after you initially start the heading service. Subsequent events are delivered when the previously reported value changes by more than the value specified in the headingFilter property of the location manager object.

See Also

Responding to Heading Events

- locationManagerShouldDisplayHeadingCalibration:

Asks the delegate whether the heading calibration alert should be displayed.

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