Sergey Krasiuk Sergey Krasiuk - 5 months ago 75
iOS Question

App crash when change permission AddressBook in Settings

Swift (iOS 8 / iOS 9): App crash when I change permission AddressBook in Settings on real device

Error when permission change in Settings


Your app is not crashing its just forced to restart by iOS with new privacy settings. So when you change the privacy policy, app will be killed if its attached to debugger else it will restart or relaunch.

Note : If the user at some point changes the Address Book, Calendars, Reminders, Camera, or Photos permissions, iOS will SIGKILL the app. (It's not crash it's default behaviour of iOS)