如何从 iphone 的 Activity 应用程序获取锻炼记录,apple sdk 是否提供此 API? [英] How can I get workout record from the Activity app in the iphone, does the apple sdk supply this API?

查看:19
本文介绍了如何从 iphone 的 Activity 应用程序获取锻炼记录,apple sdk 是否提供此 API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的 iphone 的 Activity 应用程序中获取锻炼记录数据,apple sdk 是否提供此 API 来访问它?谢谢!

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:

推荐答案

您可以使用 HealthKit API 访问所有这些数据.我建议从 HKHealthStore 和WWDC 关于 HealthKit 的视频.

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

这篇关于如何从 iphone 的 Activity 应用程序获取锻炼记录,apple sdk 是否提供此 API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆