iPhone SDK: How do I create an overlay drop-down menu?

Posted by arooaroo on Stack Overflow See other posts from Stack Overflow or by arooaroo
Published on 2010-03-18T15:46:06Z Indexed on 2010/03/18 19:01 UTC
Read the original article Hit count: 936

Filed under:
|
|
|

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

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiview