IPad UIPopoverController with buttons same as Contacts app

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

enter image description here

I can create a UIViewController containing two buttons, but they will not be identical to those shown in the screenshot above

How can i achieve this?

thank

+3
source share
1 answer

That UIActionSheet.

On an iPad, a class UIActionSheetpresents itself as a pop-up view when it is provided with a specific rectangle for presentation. Without this rectangle, it will be displayed in the center of the screen, like a UIAlertView.

+9
source

Source: https://habr.com/ru/post/1792760/


All Articles