views:

719

answers:

1

Hi,

I have a UIViewController containing its UIView which occupies the available screen (inbetween the tabbar and nav bar).

I'd now like to add a simple toolbar which is situated at the top of the UIView which will contain some buttons. One of the buttons should display a drop down menu which is displayed as an overlay over the UIView. I'd quite like this menu to be a UITable as it could contain many items.

The problem I'm having is I can't see the best way to go about this. I'm wondering whether there's a simple strategy.

Here's an example of the type of feature I'm looking for...

Menu hidden: http://www.flickr.com/photos/peterevers/3147678219/in/photostream/
Menu displayed: http://www.flickr.com/photos/peterevers/3148550320/

I expect the above example is emulated in UIWebView using HTML/CSS. Is there a "proper" way?

TIA

A: 

You could certainly use the buttons that you want in your menu to show and hide a UITableView. There is no need for a WebView, I think you are already on the right track.

Eric Schweichler