I am trying to create a “back” button and a “forward” button for browser navigation on a mobile phone. Is there a straightforward way to do this? I was going to create a custom property on a header called urls (as an array or object) that will receive messages via message handler that contain the url of the page just opened, which is then appended to the urls property. Pages can then be navigated back and forth with this. That seems like overkill and a really roundabout way of doing it.
Also, is there any way to get the current view and current url on the page you are on? For example, if I am at view “Main/Home View” and url “/home”, how can I get these out? I’d imagine that data is contained in the “view” object (e.g. a property of self.view), but I could not find this. Any ideas?