IOS 7 crashes when changing calendar privacy

I have an application that uses the Event Kit to synchronize some events with the iOS calendar. This works great with one exception. If the application is in the background / paused, and the privacy settings for the calendar are changed (settings> privacy> calendar> my application), the application will crash. This happens even if classes that use EkEventKit have not yet been used.

I just ran it in an iOS simulator, but the dose of Xcode does not provide much useful information just that the application was sent by SIGKILL.

Can anyone suggest what might be causing this or how could I find out

+6
source share
1 answer

This is actually not a failure, although it appears in this way when you test your device through xCode. If you disconnect the device from your device and do another test, you will notice that when you return to your application after changing the privacy setting, the application will be killed as soon as the privacy setting changes and it will resume when you return to it.

I'm not sure about the simulator, but I guess this is the same. (The application I'm developing uses Calendar, so I have to run all my tests on the device itself)

+12
source

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


All Articles