Restrict iOS versions

Asked

Viewed 63 times

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. In short, I would like to prevent the app from being installed in iOS 8.0.x versions.

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

  • 1

    I suggest you check and repair the bugs. If you prevent the app from running in version 8.0, there’s a good chance that Apple will reject it if Reviewer tests it in 8.0.

  • So @Andréribeiro, this is tense, in the simulations that were made and tests here, everything is OK, but has user reporting problems, which version of iOS is 8.0. On an iPhone 5

1 answer

2


Preventing the 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 to be frank, in addition to not getting approval from Apple for publication, naturally because you will have to "kill" (with a abort()) the application before completing the opening, this is a workaround very bad in any case and in any development area (reminds me a lot when I didn’t want my websites to run on Internet Explorer).

My advice to you is, there’s no point in covering the sun with a sieve. The ideal is for you to stay with the minimum version and try to locate what failures occur with your app in the iOS 8.0 environment so you can fix them so that this is not an impediment.

If you accept this idea, it will make your asking, researching and etc, because problem in a specific version of the operating system is more expensive incompatibility of a certain code, which is fully fit to be solved.

  • Thanks Paulo, because it is expensive, the most common problem is that Core Location is simply lost. No longer find location, having to restart location service and depending on the case, on an iPad wifi for example, I have to restart internet service.

  • The problem is that in the tests, the same presented success, everything ok. Right at the end, after the launch it is taking place, and on an iPhone 5 iOS 8.0. Searching and everything else the localization errors (Which is not that scheme to request permission, because this is OK), the staff did not get solution, because it seems to be something of internal management of iOS or the device in question

  • Basically the error that is happening is this: didFailWithError: Error Domain=kCLErrorDomain Code=0 "The Operation couldn’t be completed. (kCLErrorDomain error 0.)"

  • @Gian Take a look at this answer: Link

  • @Paulo Rodrigues, exact it was through this link that I found the conclusion that really is some management "out of reach" of the code of my application, because even Google Maps, which I use in my app, ends up getting lost in the location of the device.

  • I’ve come across this problem, but it has always been in the simulator (including in other versions of iOS), as well as in this link that the André and others I also found. And in connection with the connection, I believe it is necessary to do more tests on other devices with iOS 8.0, because it may be a specific issue of device, whether software or hardware.

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.