How to Require iPad 2 or iPhone 4S in App Store

丶灬走出姿态 提交于 2019-12-18 02:37:10

问题


We are building an app that requires the RAM, GPU, and cores of an iPad 2 or iPhone 4S. Is there any way to configure the app so that it is not available in the app store to users of lesser hardware?

I know that I can build armv7 only, and that eliminates the really old stuff. It looks like I could require a still camera (even though we don't use it), to eliminate the iPad 1 (although that feels like a hack). But that doesn't keep it off iPhone 4 or Touch 4.

Any suggestions?


回答1:


This is now possible with the release of iOS 6. By requiring iOS 6, you can effectively require that only iPhone 4+ and iPad 2+ are supported.




回答2:


Unfortunately, there is no UIRequiredDeviceCapabilities string that only filters for devices with the A5 processor.

The closest you get, looking at the "Device Compatibility Matrix" in the new iTunes Connect Developer Guide, is the new bluetooth-le key that filters for just the iPhone 4S based on its support for Bluetooth 4.0 Low Power communication. The iPad 2 doesn't have this hardware (although it's safe to bet the next generation will), so it doesn't satisfy this required capability.

I'm a little surprised by this, because there are new OpenGL ES extensions which are only available on the iPad 2 and iPhone 4S, and I could see building applications that require those capabilities. I'm not sure how you'd specify that, so I filed an enhancement request (rdar://10356232) for a key like this.



来源:https://stackoverflow.com/questions/7919586/how-to-require-ipad-2-or-iphone-4s-in-app-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!