Type Method

headingAvailable()

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

Declaration

class func headingAvailable() -> Bool

Return Value

true if heading data is available; false 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

class func authorizationStatus()

Returns the app’s authorization status for using location services.

class func locationServicesEnabled()

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

class func deferredLocationUpdatesAvailable()

Returns a Boolean value indicating whether the device supports deferred location updates.

class func significantLocationChangeMonitoringAvailable()

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

class func isMonitoringAvailable(for: AnyClass)

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

class func isRangingAvailable()

Returns a Boolean value indicating whether the device supports ranging of Bluetooth beacons.