The number of steps the user has taken with the device.
- iOS 7.0–8.0Deprecated
- Core Motion
Step information is gathered on devices with the appropriate built-in hardware and stored so that you can run queries to determine the user’s recent physical activity. You use this class to gather both current step data and any historical data.