-2

I have an app with a very specific UI that doesn't fit screens with the 3:2 ratio, i.e. it is almost unusable on iPhone 4/4s for example.

Is there a way to prevent installations of my app on specific devices, namely iPhone 4/4s?

Almo
  • 15,538
  • 13
  • 67
  • 95
mojuba
  • 11,842
  • 9
  • 51
  • 72
  • If it's an iPhone app and not a Universal app, then iPhone 4 size support is required, as Apple may test the app on an iPad Air in 1X or 2X mode and reject the app if it fails to run in the 3:2 display window. Even if Metal is in the required capabilities. – hotpaw2 Jan 23 '16 at 08:30

2 Answers2

2

To exclude a certain device (eg. iPhone 4/4s) of the same type (eg. iPhone, iPad) there would need to be a requirement in your app which will not run on that devices standard configuration.

An example would be if your app used the Metal Framework, which iPhone 4/4s doesn't support. If you've thought about targeting armv7s/arm64 architectures exclusively (iPhone 4/4s use arm7) forget it — your app will be rejected. ↪︎ Source

If you're trying to exclude certain devices which are of the same type then you might have to dig deep into UIRequiredDeviceCapabilites and determine which key might eliminate the device your app doesn't support. Apple generally wants your app to support as many devices as possible, and apparently they expect it's interface to look good on all of them.


Set your Deployment Target to iOS 8+, since iPhone 4 is unable to run it.

EDIT: Unfortunately this doesn't exclude iPhone 4s

l'L'l
  • 44,951
  • 10
  • 95
  • 146
  • This is great for the iPhone 4, however the iPhone 4S, which can run iOS8+, has the same screen size as what the OP doesn't want to allow installs. – Bamsworld Jan 23 '16 at 04:12
0

It is not possible to prevent on specific devices since iOS 9 is supported by iPhone 4s. Check this https://stackoverflow.com/a/29677597/4108415.

Community
  • 1
  • 1
Ivan Nesterenko
  • 939
  • 1
  • 12
  • 23