Safari-style UIPopoverController from Toolbar
I'm creating an iPad application which needs a UIPopoverController
like this one (I mean, with buttons):
I tried using a UIViewController
but it gives me an enormous popup with a white background.
Can anyone explain me how开发者_Python百科 to make one? I cannot find any documentation or example code. Thanks.
You need -[UIActionSheet showFromBarButtonItem:animated:]
instead of a UIPopoverController.
精彩评论