问题
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.
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:
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.
来源:https://stackoverflow.com/questions/4016558/ipad-how-can-i-make-my-uiactionsheet-look-like-the-thin-one-in-safari