Type Method

isAuthorizedForRecording

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

Declaration

+ (BOOL)isAuthorizedForRecording;

Return Value

YES if the app is authorized to record sensor data or NO if it is not.

See Also

Checking the Availability of Sensor Recording

+ isAccelerometerRecordingAvailable

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

+ authorizationStatus

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

CMAuthorizationStatus

The authorization status for motion-related features.