ZIKViewRouter.m:2112 Assert 错误
LittleYuuuuu opened this issue · comments
在 WKWebView 中的输入框输入表情之后,收起键盘出现闪退
*** Assertion failure in -[UIKeyboardMediaServiceRemoteViewController willMoveToParentViewController:]
ZIKRouter/ZIKRouter/ViewRouter/ZIKViewRouter.m:2112
"0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350",
"1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48",
"2 CoreFoundation 0x00007fff23c70ff8 +[NSException raise:format:arguments:] + 88",
"3 Foundation 0x00007fff256e9b51 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:descript
"4 ZIKRouter 0x000000010f6f46df -[ZIKViewRouter ZIKViewRouter_hook_willMoveToParentViewController:] + 399"
"5 UIKitCore 0x00007fff47b2cb4c -[UIKeyboardMediaController releaseRecentlyUsedMediaViewIfNeeded] + 46",
"6 UIKitCore 0x00007fff47e96539 -[UIKeyboardImpl setDelegate:force:] + 4931",
"7 UIKitCore 0x00007fff47b56c12 -[UIInputResponderController _reloadInputViewsForKeyWindowSceneResponder:]
"8 UIKitCore 0x00007fff47b563b3 -[UIInputResponderController _reloadInputViewsForResponder:] + 144",
"9 UIKitCore 0x00007fff480c4c8b -[UIResponder(UIResponderInputViewAdditions) reloadInputViews] + 133",
"10 WebKit 0x00007fff2d46821b -[WKContentView(WKInteraction) _hideKeyboard] + 106",
"11 WebKit 0x00007fff2d468c54 -[WKContentView(WKInteraction) _elementDidBlur] + 296",
"12 WebKit 0x00007fff2cf4582e _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7Decoder
"13 WebKit 0x00007fff2d190448 _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7De
"14 WebKit 0x00007fff2cf31802 _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_1
"15 WebKit 0x00007fff2cf345a4 _ZN3IPC10Connection24dispatchIncomingMessagesEv + 408",
"16 JavaScriptCore 0x00007fff268a11f4 _ZN3WTF7RunLoop11performWorkEv + 228",
"17 JavaScriptCore 0x00007fff268a1482 _ZN3WTF7RunLoop11performWorkEPv + 34",
"18 CoreFoundation 0x00007fff23bd4471 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17",
"19 CoreFoundation 0x00007fff23bd439c __CFRunLoopDoSource0 + 76",
"20 CoreFoundation 0x00007fff23bd3b74 __CFRunLoopDoSources0 + 180",
"21 CoreFoundation 0x00007fff23bce87f __CFRunLoopRun + 1263",
"22 CoreFoundation 0x00007fff23bce066 CFRunLoopRunSpecific + 438",
"23 GraphicsServices 0x00007fff384c0bb0 GSEventRunModal + 65",
"24 UIKitCore 0x00007fff48092d4d UIApplicationMain + 1621",
"25 HuoBan_DEBUG 0x000000010bc7e300 main + 112",
"26 libdyld.dylib 0x00007fff5227ec25 start + 1"