iPad - How can I make my UIActionSheet look like t

2019-05-26 14:08发布

alt text

The above UIActionSheet is thinner than the normal one. I took the screenshot from Safari when I try to bookmark some website.

Mine or the default UIActionSheet in iPad looks like the following. It is thicker than the one in Safari, especially the border.

alt text

How can I make my own UIActionSheet look like the one in Safari? Do I need to do any particular customisation or I can use some kinds of parameters for UIActionSheet?

thanks

1条回答
Ridiculous、
2楼-- · 2019-05-26 14:38

The instance method:

showFromBarButtonItem:animated:

Documentation:

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIActionSheet_Class/Reference/Reference.html

On iPad, it will display the UIActionSheet inside a Popover.

查看更多
登录 后发表回答