How can I get workout record from the Activity app in the iphone, does the apple sdk supply this API?

回眸只為那壹抹淺笑 提交于 2019-12-25 11:55:31

问题


I want to get the workout record data from the Activity app in my iphone, does the apple sdk supply this API to access it? Thanks!

The detail data I want to access is as below screen:


回答1:


You can get access to all of this data using the HealthKit API. I recommend starting with HKHealthStore and the WWDC videos about HealthKit.



来源:https://stackoverflow.com/questions/32859676/how-can-i-get-workout-record-from-the-activity-app-in-the-iphone-does-the-apple

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!