Type Method

authorizationStatus()

Returns a value indicating whether the app is authorized to retrieve altimeter data.

Declaration

class func authorizationStatus() -> CMAuthorizationStatus

See Also

Determining Altitude Availability

class func isRelativeAltitudeAvailable() -> Bool

Returns a Boolean value indicating whether the current device supports generating data for relative altitude changes.

enum CMAuthorizationStatus

The authorization status for motion-related features.

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