How do I make my application available on the App Store only for iPhone 3G S or faster devices?

给你一囗甜甜゛ 提交于 2019-11-27 06:09:58

问题


I have an app that runs slowly on an iPhone 3G but is fast enough on an iPhone 3G S.

Is there a way to limit the app to be available only for iPhone 3G S and faster devices? I would like to avoid bad comments because 3G or even 2G users download it and then complain about it being too slow.


回答1:


You can set minimum capabilities required to use your application by providing values for the UIRequiredDeviceCapabilities key in your application's Info.plist. In this case, I'd recommend using the opengles-2 capability, because all iOS devices with the post-iPhone 3G S faster hardware support OpenGL ES 2.0 and none of the ones before that do.

For more on these capabilities see Apple's documentation here.



来源:https://stackoverflow.com/questions/3472278/how-do-i-make-my-application-available-on-the-app-store-only-for-iphone-3g-s-or

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