Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

hide navBar in titanium 0.8.2

Hello, I need to hide the navBar of my second tab in Titanium 0.8.2.
Whit Titanium.UI.currentWindow.hideNavBar({animated:false}); my navBar disappear a little bit after the page is showed up, and it is not the top solution!
Any best solution?

Thank you

— asked March 18th 2010 by Stefano Di Luca
  • hide
  • navbar
0 Comments

3 Answers

  • The correct syntax is navBarHidden:true

    Just incase someone else comes across this thread as I did.

    — answered February 16th 2011 by Ian Tearle
    permalink
    1 Comment
    • I did too, and it worked. Thanks Ian. ;)

      — commented December 23rd 2011 by José Júnior
  • hello, my window is created in the tiap.xml file and it is a window of the navigation tab

    — answered March 18th 2010 by Stefano Di Luca
    permalink
    0 Comments
  • I think you can control the navbar visibility when you create the window.

    You should be able to try something like the below:

    var win = Titanium.UI.createWindow({url:'slider.html',hideNavBar:true,title:'Slider',backgroundColor:'#fff'});
    
    — answered March 18th 2010 by Ben Bahrenburg
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.