What happens when my app no ​​longer supports older iOS

If the user used my application on iOS 8, and my latest version only supports iOS 9. The user upgrades the OS to iOS9.

  • Does he receive a warning to update the application when he opens my application?
  • Can a user use my application without updating it?
  • What happens to outdated code? Will the application turn up when trying to access such APIs?
+6
source share
1 answer
  • There are no warnings. If the user does not update iOS, your application will not be updated. Your project must be updated, and now it requires iOS 9, see the Deployment Goal in your project settings. If you do not change this parameter, it will be updated, and you may get a failure if the new API will be used on old iOS.
  • If you have not changed the server side so that it breaks compatibility, and the old version still worked.
  • This should be investigated by you. It depends on many factors. If you set up the deployment target project correctly, the upgrade will not work on older versions of iOS. This can be tricky if your app needs to support older versions of iOS. A non-updated application will continue to work with new iOS, even if using an outdated API. Apple simply will refuse updates using the outdated API, but still support this API. As soon as I had a problem, because UIAlertView out of date, and the old application had a new error, where UIAlertView did not observe the orientation of the application. I had to make complex code that found that the UIAlertController (I prefer this approach instead of detecting the iOS version) is available than to use it, and if you do not use a backup of the UIAlertView .

When updating the application, the biggest problem you can create is to establish compatibility or database compatibility. Therefore, you must be careful with this.

+1
source

Source: https://habr.com/ru/post/1015362/


All Articles