将 iOS 应用程序的部署限制为仅某些应用程序

发布于 2024-12-01 20:59:01 字数 115 浏览 4 评论 0原文

有什么方法可以限制我的 iOS 应用程序在应用程序商店中适用于 Gen 2 iPad 或更高版本以及 iPhone 4 或更高版本?我可以在 Android 中做到这一点,所以我想他们在 iOS 中也可以做到这一点。

Is there any way to limit my iOS app be available for Gen 2 iPads or better and iPhone 4 or better in the app store? I can do this in Android so I imagine their is an iOS equivalent.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

过期情话 2024-12-08 20:59:01

您无法将您的应用限制为特定设备,但您可以通过在 Info.plist 中包含 UIRequiredDeviceCapability 键来将其配置为需要某些硬件功能。

这是一个字符串数组,您可以在 iOS 应用程序编程指南

例如,通过包含“前置摄像头”,您实际上会将您的应用程序限制为 iPhone 4、iPad 2 和最新一代 iPod touch。

You can't restrict your app to specific devices, but you can configure it to require certain hardware features by including the UIRequiredDeviceCapabilities key in your Info.plist.

This is an array of strings, you can find details about which keys are available in the iOS Application Programming Guide.

By including "front-facing-camera", for example, you would essentially restrict your app to iPhone 4, iPad 2 and latest-gen iPod touch.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文