iOS(iPhone) 应用程序与 ipad 兼容。但是怎么办?

标签 ios ipad app-store compatibility

我们作为一个团队一直在开发许多 iOS 应用程序。而且我们总是选择特定的设备类型,例如 iPhone 而不是通用应用程序或 iPad。 enter image description here

问题是,我们的一些应用程序说“与 iPhone、iPad 和 iPod touch 兼容”。和其他一些应用程序说“与 iPhone 和 iPod touch 兼容”。

AppStore 上的应用 A App on AppStore

AppStore 上的 B 应用 B App on AppStore

Apple 如何决定兼容的设备系列?

哪个代码块导致了这种差异?

最佳答案

我找到了问题的原因。我们在一些项目中使用 Healtykit.framework。而且此框架仅适用于 iPhone,不适用于 iPad。如果您在“链接库中的二进制文件”中选择所需的选项,应用商店的描述是“与 iPhone 和 iPod touch 兼容”。

enter image description here 如果你想在 iPad 上可用,你应该从“Link With Binary in Library”中选择 optional

HealthKit and the Health app are unavailable on iPad.

关于iOS(iPhone) 应用程序与 ipad 兼容。但是怎么办?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47979308/

相关文章:

html - 某些 html 标签未显示在任何 iPad safari 浏览器(safari 或 Chrome 应用程序)中

ipad - iPad嵌入式YouTube视频播放器以编程方式停止播放后仍保持全屏显示

app-store - 无法在App Store中创建下一个版本号序列

ios - 在 ios swift 应用程序 "Rate us"中?

ios - MapBox iOS,我如何突出一个国家?或切换图层可见性?

ios - 如何查看 TouchID 启用与否

ios - `String(describing: MyNSObject.self)` 总是返回 "MyNSObject"吗?

ios - CMSampleBuffer 中的 UIImage 呈蓝色

ipad - iPad 上的 UITableView 背景颜色始终为灰色

iOS 应用程序被拒绝 - 指南 2.3.1 - 性能