Type Method

isStepCountingAvailable()

Returns a Boolean indicating whether step-counting support is available on the current device.

Declaration

class func isStepCountingAvailable() -> Bool

Return Value

true if step-counting support is available or false if it is not.

Discussion

Step-counting support is not available on all iOS devices. Use this method to determine if support is available on the current device.