Hello, am a Ti newbie. I am trying to create a home button at the header at the right near the back button. Is there a simple way to create a home button after say two pages have been navigated without showing the back button.
Here is my code:
var homeButton=Ti.UI.createButton({title:"Home"}); homeButton.addEventListener("click",function(e){ var win=Ti.UI.createWindow({ url:"../homePage.js" }); Ti.UI.currentTab.open(win,{animate:true}) }); win.setRightNavButton(homeButton);Though it goes to the home button (homePage.js) it still shows the back button which is not a normal user experience. Please help .Thanks.