Could anyone provide some guidance on how to implement that speech-bubble like popup menu when you click “More” in the IPhone IPod application toolbar?
Could anyone provide some guidance on how to implement that speech-bubble like popup menu
Share
I think you are looking for
UIPopoverController. Popover controllers are just containers for view controllers: write a view controller that does what you want, and you’re set. But this is for iPad. If you want this for iPhone, then read on. I have put up some solutions.You could even explore
UIActionSheetbutUIPopOverControllergives more flexibility.I believe you are talking about something like this ?
Here are some solutions you could adopt –
Forgot that you wanted this for iPhone, Have a look at the iPhone
UIPopoverControllerimplementation: WEPopoverOn iPhone you would generally use a
UIActionSheetfor a stack of buttons like that. It slides up from the bottom, rather than popping up next to the button, but that’s the standard behavior on iPhone.Or you could manually instantiate a UIView using a custom background image or drawing with transparency, add some UIButtons (or other type of custom view) on top, and also somehow handle all touches outside that view.
Note that is is non-standard UI. An actionsheet would be more HIG compliant.