AXWebViewController is a webViewController to browse web content inside applications. It’s a lightweight controller on iOS platform based on WKWebView (UIWebView would be the base Kit under iOS 8.0). It added navigation tool bar to refresh, go back, go forward and so on. It support the navigation style on WeChat. It is a simple-using and convenient web view controller using inside applications.
问题
当网络请求出错时,显示
neterror.html
页面。但点击“重新加载“不会触发页面重载。原因
neterror.html
里请求的
ax_network_error
会被视作相对路径,被拼接成而
webView: decidePolicyForNavigationAction:decisionHandler:
里的判断是条件无法通过,导致重载无限。