开发者

iPad UIPopoverController with buttons, same as Contacts App

I would like to create a PopoverController containing buttons, like this one:

iPad UIPopoverController with buttons, same as Contacts App

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜