Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于RxWebViewNavigationViewController的返回判断 #16

Open
KarinoSharuru opened this issue Jul 11, 2016 · 1 comment
Open

关于RxWebViewNavigationViewController的返回判断 #16

KarinoSharuru opened this issue Jul 11, 2016 · 1 comment

Comments

@KarinoSharuru
Copy link

判断直接用的是webView.canGoBack属性,但如果当前push的RxWebViewController,所加载的页面是包含重定向的话,即加载A网页,自动跳转到B网页,canGoBack值会为真。此时点击【返回】按钮,则goBack加载A网页,自动跳B网页,相当于重新又加载了一遍B网页,无法pop出去了。

@Roxasora
Copy link
Owner

试了一下其他的浏览器,似乎这个问题没有一个很好的办法可以避免,从浏览器自身的黑盒角度并不知道当然的页面重定向是否是用户期望的行为所以不应该加以干涉。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants