Completion handler passed to
-[WebViewVC webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:]
was not called
原因
For user security, your app should call attention to the fact
that a specific website controls the content inthis panel.A simple forumla
for identifying the controlling website is frame.request.URL.host.
The panel should have a single OK button.
谷歌翻译:
为了用户安全,您的应用应引起注意
特定网站控制此面板中的内容。 一个简单的论坛
用于标识控制网站的是frame.request.URL.host。
该面板应具有一个“确定”按钮。
简而言之就是:苹果要求显示js的弹框(比如alert
WKWebView Completion handler passed to -[WebViewVC webView:runJavaScriptAlertPanelWithMessage:initi
WKWebView 获取js弹框报错Completion handler passed to -[WebViewVC webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:completionHandler:] was not called原因For user security, your app should call...