有人能解释一下崩溃日志吗?我不知道这个崩溃是为了哪个通知而出现。
> Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at
> 0x714e79b2 raw 0 libobjc.A.dylib objc_msgSend + 5 appWillTerminate:
> 1 CoreFoundation
> __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12 2 CoreFoundation
> _CFXNotificationPost + 1784 3 Foundation
> -[NSNotificationCenter postNotificationName:object:userInfo:] + 72 4 Foundation
> -[NSNotificationCenter postNotificationName:object:] + 30 5 UIKit
> -[UIApplication _terminateWithStatus:] + 218 6 UIKit
> -[UIApplication _handleApplicationDectivationWithScene:shouldForceExit:transitionContext:completion:]
> + 2518 7 UIKit
> -[UIApplication workspaceShouldExit:] + 140 8 FrontBoardServices
> __31-[FBSSerialQueue performAsync:]_block_invoke + 12 9 CoreFoundation
> __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12 15 UIKit UIApplicationMain + 1440 16 Meeting main.m line 13 main发布于 2015-04-02 19:54:04
看起来你的一个通知是在你的应用程序挂起时发送的,可能是在回调中有一些UI职责的通知。
https://stackoverflow.com/questions/29410805
复制相似问题