Sergey Krasiuk
Sergey Krasiuk

Reputation: 198

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 Code Code

Upvotes: 5

Views: 4114

Answers (1)

Maulik
Maulik

Reputation: 19418

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)

Upvotes: 34

Related Questions