When upgrading your app from iOS 9 to iOS 10 SDK, which migrations are necessary, which are recommended?
The list is not yet exhaustive, you are invited to amend this community wiki answer. I will add more points during research too.
Apps will be enforced to use ATS from January 1st 2017 on, except for only a few exceptions. NSAllowsArbitraryLoads
should be deactivated for nearly all apps.
See 4:15 at WWDC 2016 Session 706
You need to support IPv6. If you use DNS names and NSUrlSession
or NSUrlRequest
, you will be fine.
XXXUsageDescription
needs to be provided in Info.plist
for even more system functionality needing authorization. In iOS 10 the app will exit when upon trying to access if those descriptions are missing.
There is a new framework for Local/Push Notifications. Also the visual style has changed. So if you reproduced the system notification style for showing in-app notifications, you should upgrade - the good news is that the new framework now supports showing notifications, even when the app is active.
touchesMoved
will be called much more often in iOS 10, so no performance critical code should be executed there. See 22:10 at WWDC Session 220
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With