如何限制一个应用只能在iPhone 5上运行? [英] How to limit an app to work on an iPhone 5 only?
问题描述
我搜索了一下,但没有得出任何结论.
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屋!