Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App crash when change permission AddressBook in Settings

Tags:

ios

iphone

swift2

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

Error when permission change in SettingsCodeCode

like image 496
Sergey Krasiuk Avatar asked Dec 21 '15 11:12

Sergey Krasiuk


1 Answers

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)

like image 72
Maulik Avatar answered Oct 22 '22 16:10

Maulik