Instance Method

stopUpdatingHeading

Stops the generation of heading updates.

Declaration

- (void)stopUpdatingHeading;

Discussion

Call this method whenever your code no longer needs to receive heading-related events. Disabling event delivery gives the receiver the option of disabling the appropriate hardware (and thereby saving power) when no clients need location data. You can always restart the generation of heading updates by calling the startUpdatingHeading method again.

See Also

Initiating Heading Updates

- startUpdatingHeading

Starts the generation of updates that report the user’s current heading.

- dismissHeadingCalibrationDisplay

Dismisses the heading calibration view from the screen immediately.

headingFilter

The minimum angular change (measured in degrees) required to generate new heading events.

headingOrientation

The device orientation to use when computing heading values.

CLDeviceOrientation

Constants indicating the physical orientation of the device.

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