Target iPhone application by model (e.g. 3G vs 3GS)

Like all the necessary device features in the info.plist file, is it possible to configure the application so that it is available only on some device models?

I know how to target a family of devices (iPhone and iPod vs iPad), but in this case I'm looking for a target model. I also know how to programmatically determine the model, but I want iTunes to prevent some device models from downloading the application, so doing this with info.plist seems like it would be a better way.

For example, if I wanted the application to be available on iPhone 3GS (or iPhone / iPod 4) and top, but NOT on iPhone 3G, is there any way to do this?

+7
ios iphone device target
source share
3 answers

There is no way to do this other than code. Apple dissuades him, instead asks you to require certain features instead of specific models.

The best thing you can do is to note in the product description that not all functions are available / work on 3G hardware, for example, and then disable these functions in the code or allow them to work poorly.

+1
source share

You might want to explore UIRequiredDeviceCapabilities.

+2
source share

Put armv7 in the UIRequiredDeviceCapabilities of info.plist application. This will prevent the application from loading on an iPhone 3G that uses the armv6 processor architecture.

+2
source share

All Articles