Preventing NavBar Navigation
Is there a way to prevent Back Button Navigation after asking the user a question eg whether the user wishes to save details on the current window?
1 Answer
-
Accepted Answer
You could maybe override the native back button and set your own using
Ti.UI.currentWindow.setLeftNavButton();
Then apply your own logic to a click on it - using
Ti.UI.currentWindow.close()
when you want to close/'go back'.I don't know if it's possible to override the native (pointy) back button click.