Type Method


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


class func isStepCountingAvailable() -> Bool

Return Value

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


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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software