Titanium Community Questions & Answer Archive

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

Any way to remove the navbar from a popover?

I'm trying to create a popover for a searchfield in my app that will display autocomplete suggestions, basically identical to the ones in Safari (iPad version). I don't want to have any navbar at the top of the popover, I just want a thin border around the tableview in the popover, similar to this:


However, I can't seem to get it to do that. Even if I don't specify a 'title' for the popover, it still just shows a larger blank navbar.

Any ideas?

— asked May 21st 2010 by Bill Labus
  • ipad
  • navbar
  • popover

4 Answers

  • Although this post is very old, setting the navBarHidden property of the popover to false, it seems to do the job correctly.

    — answered May 24th 2012 by Joseph Rautenbach
    1 Comment
    • I mean true, not false, sorry.
      Add the following when you create the popover:
      navBarHidden : true
      That should do the trick, although it is an undocumented feature.

      — commented May 26th 2012 by Joseph Rautenbach
  • I think that one is a custom made view.

    — answered May 21st 2010 by Dan Tamas
  • So what does that mean, it's not possible to do in Titanium?

    — answered May 21st 2010 by Bill Labus
  • It is, only that you will have to create it yourself.
    You can do it in a similar way with this tutorial I wrote


    only that instead the label you put a table view inside, and of course me it bigger.

    — answered May 21st 2010 by Dan Tamas
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.