Contents

CMStepCounter

The number of steps the user has taken with the device.

Declaration

class CMStepCounter

Overview

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.

Topics

Determining Step Counting Availability

Starting and Stopping Step Counting Updates

Getting Historical Step Counting Data

See Also

Pedometer and fitness