Post

Replies

Boosts

Views

Activity

PDF displays white after page load in WKWebView - [com.apple.PDFKit.PDFExtensionView(1.0)] Connection to plugin interrupted while in use. /Connection to plugin invalidated while in use.
Good Day, I am experiencing issue on viewing PDF file using WKWebview. The view turns white after the page load or the pdf does not finished render yet. Upon checking on console, I saw this error in the log. Can somebody help me with this issue. Thank you. btw, I am using iOS 14 2020-11-17 09:34:20.782707+0800 TEST[848:49473] [lifecycle] [u 76D7227D-EDDA-4B7D-899D-94CC599E51B8:m (null)] [com.apple.PDFKit.PDFExtensionView(1.0)] Connection to plugin interrupted while in use. 2020-11-17 09:34:20.784351+0800 TEST[848:49715] [lifecycle] [u 76D7227D-EDDA-4B7D-899D-94CC599E51B8:m (null)] [com.apple.PDFKit.PDFExtensionView(1.0)] Connection to plugin invalidated while in use. 2020-11-17 09:34:20.785713+0800 TEST[848:49388] [Loading] 0x10a14ee18 - [pageProxyID=6, webPageID=7, PID=854] WebPageProxy::dispatchProcessDidTerminate: reason = 3 2020-11-17 09:34:20.793156+0800 TEST[848:49388] viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
1
2
1.3k
Nov ’20
App Crash: Swift._assertionFailure
Hi!Anybody can help me? I am developing app that creates local notification with actions (Yes/No) to call an API. It works well exceptwhen I locked the phone or Turn off the display and terminate the app. BTW, I also terminates the app but I did not lock the phone or turn off display and it works pretty, only when I locked the phone I experienced this crash.libswiftCore.dylibSwift._assertionFailure(_: Swift.StaticString, _: Swift.String, file: Swift.StaticString, line: Swift.UInt, flags: Swift.UInt32) -> Swift.Never TEST0x104f20000 + 2528216 TEST0x104f20000 + 2524528 libdispatch.dylib_dispatch_client_callout libdispatch.dylib_dispatch_once_callout libswiftCore.dylibswift_once TEST0x104f20000 + 2523820 TEST0x104f20000 + 2523316 TEST0x104f20000 + 2522468 libdispatch.dylib_dispatch_client_callout libdispatch.dylib_dispatch_once_callout libswiftCore.dylibswift_once TEST0x104f20000 + 2524512 TEST0x104f20000 + 6461756 TEST0x104f20000 + 6467644 UIKitCore-[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] UIKitCore-[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] UIKitCore-[UIApplication _runWithMainScene:transitionContext:completion:] UIKitCore-[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] UIKitCore_UIScenePerformActionsWithLifecycleActionMask UIKitCore-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] UIKitCore-[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] UIKitCore-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] UIKitCore-[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] UIKitCore-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] UIKitCore+[BSAnimationSettings(UIKit) tryAnimatingWithSettings:actions:completion:] UIKitCore_UISceneSettingsDiffActionPerformChangesWithTransitionContext UIKitCore-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] UIKitCore_UISceneSettingsDiffActionPerformActionsWithDelayForTransitionContext UIKitCore-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] UIKitCore-[UIScene scene:didUpdateWithDiff:transitionContext:completion:] UIKitCore-[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] UIKitCore-[UIScene scene:didUpdateWithDiff:transitionContext:completion:] UIKitCore-[UIApplication workspace:didCreateScene:withTransitionContext:completion:] UIKitCore-[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] FrontBoardServices-[FBSSceneImpl _callOutQueue_agent_didCreateWithTransitionContext:completion:] FrontBoardServices-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:] FrontBoardServices-[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] FrontBoardServices-[FBSWorkspaceScenesClient sceneID:createWithParameters:transitionContext:completion:] libdispatch.dylib_dispatch_client_callout libdispatch.dylib_dispatch_block_invoke_direct$VARIANT$mp FrontBoardServices__FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ FrontBoardServices-[FBSSerialQueue _queue_performNextIfPossible] FrontBoardServices-[FBSSerialQueue _performNextFromRunLoopSource] CoreFoundation__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ CoreFoundation__CFRunLoopDoSource0 CoreFoundation__CFRunLoopDoSources0 CoreFoundation__CFRunLoopRun CoreFoundationCFRunLoopRunSpecific GraphicsServicesGSEventRunModal UIKitCoreUIApplicationMain TEST0x104f20000 + 6500312 libdyld.dylibstart
1
0
2.8k
Apr ’20