如何限制应用程序只能在 iPhone 5 上运行? [英] How to limit an app to work on an iPhone 5 only?

查看:40
本文介绍了如何限制应用程序只能在 iPhone 5 上运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用谷歌搜索了一下,但没有得出任何结论.

I googled about it but didn't came to any conclusion.

我可以限制我的应用程序仅适用于 iPhone5 设备吗?

Can I limit my app to work only for iPhone5 device?

在 .plist 文件或任何其他 API 中可能是这样的:

Maybe something like this in .plist file or any other API:

<key>UIRequiredDeviceCapabilities</key>
<array>
    <string>iPhone5</string>
</array>

无论如何,如果这是可以实现的,那么我可以绕过应用商店的审批流程吗?据我所知,如果我不上传 iPhone4/4S 的屏幕截图,它可能会显示 MetaData 错误.

Anyhow, if this is achievable then can I bypass through app store approval process ? Since up to my knowledge, it may show the MetaData error if I don't upload the screenshots for iPhone4/4S.

所以,我只想让我的应用程序仅在 iPhone5 环境中运行.我该怎么做?

So, simply I would like to have my app running on iPhone5 environment only. How can I do this?

推荐答案

对于 iPhone 5 设置 UIRequiredDeviceCapabilities armv7s (iPhone 5, iPad 4)

For iPhone 5 set the UIRequiredDeviceCapabilities armv7s (iPhone 5, iPad 4)

<key>UIRequiredDeviceCapabilities</key>
<array>
    <string>armv7s</string>
</array>

这篇关于如何限制应用程序只能在 iPhone 5 上运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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