gpt4 book ai didi

ios - 使用 Health Kit 的通用应用程序

转载 作者:行者123 更新时间:2023-12-03 19:43:31 25 4
gpt4 key购买 nike

我正在开发一个应用程序,该应用程序使用一些新的 iOS 8 Health Kit (HK) 功能。

目前iPad未安装Health应用程序,因此无法使用HK。由于 HK 功能并不是我的应用程序功能的主要部分,因此我很乐意将它们排除在 iPad 版本之外。

我的问题是,一旦添加了 HK 权限,即使不使用 HK 功能,似乎也无法在 iPad 上运行通用应用程序。

有人知道有什么不同吗?有没有办法(例如)拥有单独的“每设备”权利?

谢谢!

最佳答案

如果你想使用HealthKit,框架引用明确指出你的应用程序应该主要设计用于提供健康或健身服务。如果您的应用不是以健康或健身为重点的应用,您可能无法提交通用应用。

In addition, your app must not access the HealthKit APIs unless the app is primarily designed to provide health or fitness services. Your app's role as a health and fitness service must be clear in both your marketing text and your user interface. Specifically, the following guidelines apply to all HealthKit apps.

https://developer.apple.com/library/prerelease/iOS/documentation/HealthKit/Reference/HealthKit_Framework/index.html

关于ios - 使用 Health Kit 的通用应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26003137/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com