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 to make one? I cannot find any documentation or example code. Thanks.
You need -[UIActionSheet showFromBarButtonItem:animated:] instead of a UIPopoverController.
来源:https://stackoverflow.com/questions/2579025/safari-style-uipopovercontroller-from-toolbar
