I met the same questions, hope workaround . and by the way ,we met another wkwebview's crash On iOS14.0. the crash thread info like below:
1
libobjc.A.dylib
objcrootReleaseWasZero (in libobjc.A.dylib) + 72
2
UIKitCore[UIFocusContainerGuideMapEntry setFocusContainmentFrame:] (in UIKitCore) + 16
3
UIKitCore[UIFocusRegionMapEntry mapEntriesByOccludingWithFrame:] (in UIKitCore) + 344
4
UIKitCore[UIFocusRegionMapSnapshot .cxxdestruct] (in UIKitCore) + 96
5
UIKitCore[UIFocusableRegionMapEntry description] (in UIKitCore) + 116
6
UIKitCore[UIFocusableRegionMapEntry description] (in UIKitCore) + 228
7
UIKitCore[UIFocusRegionMapSnapshot visualRepresentationWithMinimumArea:] (in UIKitCore) + 1844
8
UIKitCore[UIFocusRegionMapSnapshot visualRepresentationWithMinimumArea:] (in UIKitCore) + 672
9
UIKitCore[UIFocusRegionMapSnapshot snapshotByFulfillingPromiseFocusRegionEntry:] (in UIKitCore) + 848
10
UIKitCore[UIStateMachine(Legacy) setStaticTransitionFromState:withEvent:toState:] (in UIKitCore) + 128
11
UIKitCore[UIEstimatedTouchRecord initWithLiveTouch:freezeTouch:contextID:] (in UIKitCore) + 4
12
UIKitCore[UIWebDocumentView(Interaction) deepestNodeAtViewportLocation:] (in UIKitCore) + 96
13
WebKit[WKProcessAssertionBackgroundTaskManager updateBackgroundTask] (in WebKit) + 272
14
WebKit
bool IPC::MessageSender::send<Messages::WebPaymentCoordinator::DidAuthorizePayment>(Messages::WebPaymentCoordinator::DidAuthorizePayment const&, unsigned long long, WTF::OptionSet<IPC::SendOption>) (in WebKit) + 28
15
WebKit[WKContentView(WKInteractionPreview) presentedViewControllerForPreviewItemController:] (in WebKit) + 1564
16
UIKitCore[UIBezierPath encodeWithCoder:] (in UIKitCore) + 140
17
UIKitCore
21+[UIColor blackColor]blockinvoke (in UIKitCore) + 140
18
UIKitCore[UIDisplayP3Color initWithDisplayP3Red:green:blue:alpha:] (in UIKitCore) + 196
19
UIKitCore[UIDeviceRGBColor set] (in UIKitCore) + 48
20
UIKitCore
83+[UIAppearance applyInvocationsTo:window:matchingSelector:onlySystemInvocations:]blockinvoke (in UIKitCore) + 312
21
UIKitCore[UIAppearance appearancesAtNode:withObject:] (in UIKitCore) + 992
22
UIKitCore
_processEventQueue (in UIKitCore) + 8700
23
UIKitCore
UIDrawViewRectAfterCommit (in UIKitCore) + 708
24
UIKitCore[UIStatusBarLockView animateUnlockWithCompletionBlock:] (in UIKitCore) + 704
25
UIKitCore[UIStatusBarDualCellularSignalView setTopConstraint:] (in UIKitCore) + 0
26
CoreFoundation[_NSDictionary0 copy] (in CoreFoundation) + 0
27
CoreFoundation
copyhelperblocke832o40o48b56o64r (in CoreFoundation) + 16
28
CoreFoundation
destroyhelperblocke832o40o48b56r64r (in CoreFoundation) + 16
29
CoreFoundation
CFRunLoopTimerSetNextFireDate (in CoreFoundation) + 1072
30
CoreFoundation
CFRunLoopTimerCreate (in CoreFoundation) + 384
31
GraphicsServices
GSSendEvent (in GraphicsServices) + 252
32
UIKitCore[UISearchControllerATVSearchBarAnimator updateLayoutForGridKeyboard:animated:] (in UIKitCore) + 4092
33
UIKitCore[_UISearchFormSheetPresentationController presentationTransitionWillBegin] (in UIKitCore) + 20
34
JD4iPhone
main (in JD4iPhone) (main.m:15)
35
libdyld.dylib
0x00000001802bb3d4 (in libdyld.dylib)
Hope Reply from Apple and workaround!!!!!!
Post
Replies
Boosts
Views
Activity
I met the same question,and i found it maybe related to the function calling ---- "window.webkit.messageHandlers.CustomName.postMessages", if i deleted those methods, it maybe becomes correct。 it really confused!
sometimes we delete some common JavaScript, it can become correct too! SAD !!!!!
met the same issue, any body can help?