The question is:
Before I asked the question here,I had try:
NSCalendarsUsageDescription
The crash results I can see is:
Thread 27:EXC_BreakPointCode=1,subcode=0*10121
I had try my best to make this question more clear.What confused me most is that the app just crash on iOS10.
Hope someone could help me.
may be it is related to any privacy issue if you accessing any of this framework
Calendar , Contact , Reminder , Photo , Bluetooth Sharing , Microphone , Camera , Location , Heath , HomeKit , Media Library , Motion , CallKit , Speech Recognition , SiriKit , TV Provider
so you need to add the privacy key in plist in IOS 10
so here is the link which will help full for you. LINK
最后,我发现原因是有一个旧版本的3部分不适合iOS10。将旧版本的3部分更新为最新版本后,该应用程序运行正常。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.