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?
4 Answers
-
Although this post is very old, setting the navBarHidden property of the popover to false, it seems to do the job correctly.
-
I think that one is a custom made view.
-
So what does that mean, it's not possible to do in Titanium?
-
It is, only that you will have to create it yourself.
You can do it in a similar way with this tutorial I wrotehttp://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.