Reputation: 16794
For instance if I wanted to respond to when a user was walking/running/sedentary/bicycle/etc is that possible in current SDKs?
Upvotes: 0
Views: 224
Reputation: 16794
Lucked upon the answer. In CMMotionActivityManager:
The CMMotionActivityManager class provides access to the motion data stored by a device. 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.
Upvotes: 2