isActivityAvailable()
Returns a Boolean indicating whether motion data is available on the current device.
Declaration
class func isActivityAvailable() -> BoolReturn Value
Discussion
Motion data is not available on all iOS devices. Use this method to determine if support is available on the current device.