Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios13 Block报错 #860

Open
Kratos28 opened this issue Apr 16, 2020 · 0 comments
Open

ios13 Block报错 #860

Kratos28 opened this issue Apr 16, 2020 · 0 comments

Comments

@Kratos28
Copy link

在JS添加WKWebView,代码 回传给OC,在ios13下出现 decisionHandler is not a function. 而是'decisionHandler' is an instance of Object报错,而在ios10没有这个问题

JS代码:

`
webView_decidePolicyForNavigationAction_decisionHandler: function(webView, navigationAction, decisionHandler) {

        decisionHandler(1);

}`
屏幕快照 2020-04-16 下午6 35 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant