Limit the app working on iPhone5 only?

2019-07-16 03:37发布

问题:

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

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

**May be something like this in .plist file ** or any other API

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

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

So, simply I would like to have my app running on iPhone5 environment only.Please suggest me proper way for the same.

Thanks,

回答1:

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

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


回答2:

You could drop support for anything other than armv7s.