iPad UIPopoverController with buttons, same as Contacts App
I would like to create a PopoverController containing buttons, like this one:
I can create a UIViewController containing two buttons, but they won't be ident开发者_开发百科ical to those shown on screenshot above
How can I achieve this ?
Thanks
That is a UIActionSheet
.
On the iPad the UIActionSheet
class presents itself as a popover view when given a particular rect to present from. Without the given rect, it will display in the centre of the screen similar to a UIAlertView
.
精彩评论