Hey, I wrote an iPhone app which needs to run in the background. I did set up the properties in my info plist according to running in the background. The problem is that the app store lists iPhone 3G as well as "compatible device".
嘿,我写了一个需要在后台运行的iPhone应用程序。我根据在后台运行,在我的信息plist中设置了属性。问题是应用程序商店列出了iPhone 3G以及“兼容设备”。
Is it possible to set up my info plist to get rid of the iPhone 3G in the app store?
是否有可能设置我的信息plist摆脱应用程序商店中的iPhone 3G?
I found one solution by adding 'opengles-2' to UIRequiredDeviceCapabilities - but it doesnt seem like the best way to do it?!
我通过在UIRequiredDeviceCapabilities中添加'opengles-2'找到了一个解决方案 - 但它似乎不是最好的方法吗?!
Thanks!
谢谢!
1 个解决方案
#1
0
You can't discriminate directly on actual device types (3G versus iPhone 4 etc.), but as you note things in UIRequiredDeviceCapabilities may imply certain devices.
However, there's a more direct route, read on...
您无法直接区分实际设备类型(3G与iPhone 4等),但是您注意到UIRequiredDeviceCapabilities中的内容可能意味着某些设备。但是,有更直接的路线,请继续阅读......
If you require multitasking compatible devices, that would be any device running iOS4 or higher. There's a setting in your XCode project's build settings that allows you to set the minimum required iOS for your app to run -- "iOS Deployment Target". Set this to "iOS4" and your app will only be available to multitasking enabled iDevices (which includes iPad with iOS4 or higher, btw).
-- no, not enough, see comments below and Jules' link.
如果您需要多任务兼容设备,则可以是运行iOS4或更高版本的任何设备。您的XCode项目的构建设置中有一个设置,允许您设置应用程序运行所需的最低iOS - “iOS部署目标”。将其设置为“iOS4”,您的应用程序仅适用于启用多任务处理的iDevices(包括iOS4或更高版本的iPad,顺便说一句)。 - 不,不够,请看下面的评论和Jules的链接。
#1
0
You can't discriminate directly on actual device types (3G versus iPhone 4 etc.), but as you note things in UIRequiredDeviceCapabilities may imply certain devices.
However, there's a more direct route, read on...
您无法直接区分实际设备类型(3G与iPhone 4等),但是您注意到UIRequiredDeviceCapabilities中的内容可能意味着某些设备。但是,有更直接的路线,请继续阅读......
If you require multitasking compatible devices, that would be any device running iOS4 or higher. There's a setting in your XCode project's build settings that allows you to set the minimum required iOS for your app to run -- "iOS Deployment Target". Set this to "iOS4" and your app will only be available to multitasking enabled iDevices (which includes iPad with iOS4 or higher, btw).
-- no, not enough, see comments below and Jules' link.
如果您需要多任务兼容设备,则可以是运行iOS4或更高版本的任何设备。您的XCode项目的构建设置中有一个设置,允许您设置应用程序运行所需的最低iOS - “iOS部署目标”。将其设置为“iOS4”,您的应用程序仅适用于启用多任务处理的iDevices(包括iOS4或更高版本的iPad,顺便说一句)。 - 不,不够,请看下面的评论和Jules的链接。