Type Method


Returns a Boolean indicating whether motion data is available on the current device.


+ (BOOL)isActivityAvailable;

Return Value

YES if motion data is available or NO if it is not.


Motion data is not available on all iOS devices. Use this method to determine if support is available on the current device.

See Also

Determining Activity Availability

+ authorizationStatus

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


The authorization status for motion-related features.