Application error when changing AddressBook resolution in settings

Swift (iOS 8 / iOS 9): application crashes when changing AddressBook resolution in settings on a real device

Error when permission change in SettingsCodeCode

+5
source share
1 answer

Your application does not crash, it just restarted iOS with new privacy settings. Therefore, when you change the privacy policy, the application will be killed if it is connected to the debugger, otherwise it will restart or restart.

Note. If the user at some point changes the access rights to the address book, calendars, reminders, camera or photos, iOS will be SIGKILL application. (it does not break the default behavior of iOS)

+33
source

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


All Articles