Restrict iOS versions

1

Is there any way I can restrict iOS versions?

Detail: Not the minimum version

For example, I developed an app and would like it to run on iOS 7.x.x and iOS 8.1.x versions. In short, I would like to prevent the application from being installed on iOS 8.0.x versions.

Why? Currently in iOS 7 it works perfectly, in iOS 8.1.x also, however in iOS 8.0.x the application presents several problems, including constant crashes.

    
asked by anonymous 30.01.2015 / 14:51

1 answer

2

Preventing installation is not possible, but in AppDelegate you can check the version of the device and prevent it from completing the opening according to the version of the operating system.

var systemVersion = UIDevice.currentDevice().systemVersion();

But frankly, in addition to not getting Apple approval for publication, of course because you'll have to "kill" (with a abort() ) the app before it's done, that's a very bad workaround in any case and in any development area (it reminds me a lot when I did not want my sites to run on Internet Explorer).

My advice is: no use covering the sun with the sieve. Ideally, you should stay with the minimum version and try to find out what the flaws are with your application in the iOS 8.0 environment so you can solve them in a way that is not an impediment.

If you accept this idea, it will make your queries, searching and etc., because problem in a specific version of the operating system is more expensive than incompatibility of a certain code, which is totally apt to be solved.     

30.01.2015 / 15:20