iOS 8 NSInternalInconsistencyException

后端 未结 1 1997
攒了一身酷
攒了一身酷 2020-12-08 20:05

I get the following crash reports. They only occur on devices with iOS 8. Notice the message:

Terminating app due to uncaught exception \'NSInternalInconsis         


        
相关标签:
1条回答
  • 2020-12-08 21:06

    The bug was in the following callback:

    - (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))completionHandler

    The crash occurs when you call the completionHandler twice. This happens after iOS8.

    0 讨论(0)
提交回复
热议问题