WebView navigation
How can I navigate in WebView? Is there something like webview.goBack()
2 Answers
-
Any help? Is there any way to create "back" button for WebView? Does it keep browse history?
-
I would definitely like to see this implemented too. It would be really useful.
The iPhone SDK does have the ability to do it using the canGoback and canGoForward properties and then the goBack and goForward methods.
It's just a question of it being implemented and exposed by Appcelerator back to our webViews in JavaScript.
One thing to note, is that that would only work for remote urls and not for 'constructed' webViews which use the 'html' property due to how Apple's SDK works - though this could possibly be hacked around using and array/stack of html content.