views:

675

answers:

1

I'm creating an iPad application which needs a UIPopoverController like this one (I mean, with buttons):

sorry

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.

+8  A: 

You need -[UIActionSheet showFromBarButtonItem:animated:] instead of a UIPopoverController.

KennyTM
Ah I see, thanks it worked!
Time Machine