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?
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?
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
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.