From 26849353b89a49ac6cbc652ae3ea2931faea70d3 Mon Sep 17 00:00:00 2001 From: Alex Fung Date: Mon, 10 Jan 2022 16:49:42 +1300 Subject: [PATCH] update --- dsbridge/DWKWebView.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dsbridge/DWKWebView.m b/dsbridge/DWKWebView.m index cf8cdd6..1ddbd3e 100644 --- a/dsbridge/DWKWebView.m +++ b/dsbridge/DWKWebView.m @@ -181,6 +181,7 @@ -(void)webView:(WKWebView *)webView runJavaScriptConfirmPanelWithMessage:(NSStri } - (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWebViewConfiguration *)configuration forNavigationAction:(WKNavigationAction *)navigationAction windowFeatures:(WKWindowFeatures *)windowFeatures{ + NSLog(@"webView:createWebViewWithConfiguration"); if( self.DSUIDelegate && [self.DSUIDelegate respondsToSelector: @selector(webView:createWebViewWithConfiguration:forNavigationAction:windowFeatures:)]){ return [self.DSUIDelegate webView:webView createWebViewWithConfiguration:configuration forNavigationAction:navigationAction windowFeatures:windowFeatures]; @@ -189,6 +190,7 @@ - (WKWebView *)webView:(WKWebView *)webView createWebViewWithConfiguration:(WKWe } - (void)webViewDidClose:(WKWebView *)webView{ + NSLog(@"webViewDidClose"); if( self.DSUIDelegate && [self.DSUIDelegate respondsToSelector: @selector(webViewDidClose:)]){ [self.DSUIDelegate webViewDidClose:webView];