Type Method

isAccelerometerRecordingAvailable

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

Declaration

+ (BOOL)isAccelerometerRecordingAvailable;

Return Value

YES if accelerometer recording is available or NO if it is not.

Discussion

Call this method before trying to record or retrieve any accelerometer data using the methods of this class. Accelerometer data recording is not supported on all devices.

See Also

Checking the Availability of Sensor Recording

+ authorizationStatus

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

CMAuthorizationStatus

The authorization status for motion-related features.

+ isAuthorizedForRecording

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

Deprecated