core motion - Is it possible to get the current healthkit status of an iOS user? -


for instance if wanted respond when user walking/running/sedentary/bicycle/etc possible in current sdks?

lucked upon answer. in cmmotionactivitymanager:

the cmmotionactivitymanager class provides access motion data stored device. motion data reflects whether user walking, running, in vehicle, or stationary periods of time. navigation app might changes in current type of motion , offer different directions each.


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

html - href attribute breaking an element -