开发者

Safari-style UIPopoverController from Toolbar

开发者 https://www.devze.com 2022-12-25 22:17 出处:网络
I\'m creating an iPad application which needs a UIPopoverController like this one (I mean, with buttons):

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

Safari-style UIPopoverController from Toolbar

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号