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 -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -