开发者

iPad UIPopoverController with buttons, same as Contacts App

开发者 https://www.devze.com 2023-02-10 20:22 出处:网络
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 s

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

精彩评论

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