JavaScript alert() not working in embedded WebView

前端 未结 2 1553
渐次进展
渐次进展 2020-12-18 22:52

When embedding WebView in an application and loading html-pages in it, JavaScripts alert()/confirm()/etc. do not work.

Looking around in th

2条回答
  •  抹茶落季
    2020-12-18 23:00

    It turns out there is simply no default WebUIDelegate set - Apple seems to expect everyone to implement the same basic features for themselves.

提交回复
热议问题