Contents

CMMotionActivityManager

An object that manages access to the motion data stored by the device.

Declaration

class CMMotionActivityManager

Overview

Motion data reflects whether the user is walking, running, in a vehicle, or stationary for periods of time. Using this class, you can ask for notifications when the current type of motion changes or you can gather past motion change data. For example, a navigation app might look for changes in the current type of motion and offer different directions for each.

Topics

Determining Activity Availability

Starting and Stopping Activity Updates

Getting Historical Activity Data

See Also

Activity