devedbox / AXWebViewController

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.
MIT License
797 stars 134 forks source link

如果打开的URL 重定向一个新的URl 就会发生循环错误 #72

Open findM opened 6 years ago

findM commented 6 years ago

如果打开的url 重定向了一个新的URL 就会NSURLErrorCancelled 然后 [webView reloadFromOrigin];,然后再重定向跳转 然后NSURLErrorCancelled 一个循环产生了。。。。

复现步骤 打开 http://finance.chinanews.com/fortune/2018/03-28/8477933.shtml 即可

findM commented 6 years ago

目前 我注释掉了 [webView reloadFromOrigin]; 暂时解决了这个问题

devedbox commented 6 years ago

@findM 这个问题后续会优化