Type Method

authorizationStatus()

Returns a value indicating whether the app is authorized to record sensor data.

Declaration

class func authorizationStatus() -> CMAuthorizationStatus

See Also

Checking the Availability of Sensor Recording

class func isAccelerometerRecordingAvailable() -> Bool

Returns a Boolean value indicating whether accelerometer recording is supported on the current device.

enum CMAuthorizationStatus

The authorization status for motion-related features.

class func isAuthorizedForRecording() -> Bool

Returns a Boolean value indicating whether the app is authorized to record sensor data.

Deprecated