I think you are looking for a UIPopoverController . Popover controllers are just containers for view controllers: write a view controller that does what you want and you are configured. But this is for the iPad. If you want this for the iPhone, then read on. I suggested some solutions.
You can even explore the UIActionSheet , but the UIPopoverController gives you more flexibility.
I suppose you are talking about something like that?

Here are some decisions you could make -
Forgot you wanted this for iPhone, look at the iPhone implementation of UIPopoverController : WEPopover
On an iPhone, you usually use a UIActionSheet to dial those buttons. It slides from the bottom and does not appear next to the button, but this is standard behavior on the iPhone.
Or you can manually create a UIView using a custom background image or a transparency image, add some UIButtons (or another type of user view) on top, and also somehow handle all touches outside that view.
Please note that this is a non-standard interface. The action table will be more compatible with HIG.
Srikar appalaraju
source share