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:

http://www.9to5mac.com/files/ipad-safari-2.

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
0 Comments

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
    permalink
    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
    permalink
    0 Comments
  • So what does that mean, it's not possible to do in Titanium?

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

    http://cssgallery.info/create-a-nifty-tooltip-in-titanium/

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

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