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.
我目前也在封装webView(WKWebView)相关的东西 在封装的过程中,发现,如果web页面是使用SPA(Vue.js, React, Angluar.js等)方式来做的,那么就会造成backForwardList(返回栈)紊乱的问题,这会导致,用户在点击返回按钮来执行goBack的时候,会出现多1-2个栈 希望repo主一起研究 我目前的解决方式是:
2.如webView.title == indexTitle,这个时候让返回按钮执行popAction
3.反之,执行goBackAction