I am having trouble getting the nav bar to hide correctly in some of my windows. I thought the code below would work, but the light blue nav bar keeps showing up for a split second onload before disappearing. Any suggestions?
var win = Titanium.UI.currentWindow; win.hideNavBar();
I used this code right after creating the window with Titanium.UI.createWindow and the navbar is never seen.
animated:falsepart makes sure it hides without the slide up animation, but I guess it's best to use that command before you open the window, as Daniel said.
Sean, try hide it before you open that window.
if you don't mind, what would the code look like?
I'm guessing it would have to do with the eventlistener? Thanks for the help