Type Method

headingAvailable

Returns a Boolean value indicating whether the location manager is able to generate heading-related events.

Declaration

+ (BOOL)headingAvailable;

Return Value

YES if heading data is available; NO if it is not.

Discussion

Heading data may not be available on all iOS-based devices. You should check the value returned by this method before asking the location manager to deliver heading-related events.

See Also

Determining the Availability of Services

+ significantLocationChangeMonitoringAvailable

Returns a Boolean value indicating whether the significant-change location service is available on the device.

+ isMonitoringAvailableForClass:

Returns a Boolean value indicating whether the device supports region monitoring using the specified class.

+ isRangingAvailable

Returns a Boolean value indicating whether the device supports ranging of beacons that use the iBeacon protocol.

+ locationServicesEnabled

Returns a Boolean value indicating whether location services are enabled on the device.