webview 不展示默认错误页

1,webview 加载错误时,会给出默认的错误页,调试时比较有用,用户看起来异常丑陋。

2,解决方法


image.png

发生错误时,加载默认的异常页面出来。


image.png

你可能感兴趣的:(webview 不展示默认错误页)