Will Optimized (armv7) keep armv6 hardware users from being able to download an app from the AppStore?
If not, what 开发者_运维知识库happens when say an iPhone 3G user downloads an Optimized armv7 app?
Thanks!
If your app is compiled for armv7
only, the app will not run on an armv6
device like an iPhone 3G.
You should compile your app as Standard (armv6 armv7)
. This way it will run on all devices, and it will still be optimised for armv7
devices. This means that armv7
devices will see no performance difference between Standard (armv6 armv7)
and Optimized (armv7)
, and older armv6
devices will be able to run the app.
Apple will probably disapprove the App if you haven't flagged it accordingly (in Info.plist) to only run on 3rd generation and above devices if you only build for the ARMv7 architecture. So the question is moot, it should be:
How to disallow downloads of my ARMv7 app on ARMv6 devices to get my app approved?
They way to do that I believe is to specify that your app requires OpenGL ES 2.0.
This image shows you the UIRequiredDeviceCapabilities setting at the bottom (opengles-2):
The image is courtesy of this blogpost.
精彩评论