An object that manages access to the motion data stored by the device.
- iOS 7.0+
- watchOS 2.0+
- Core Motion
Motion data reflects whether the user is walking, running, in a vehicle, or stationary for periods of time. A navigation app might look for changes in the current type of motion and offer different directions for each. Using this class, you can ask for notifications when the current type of motion changes or you can gather past motion change data.