Safari-style UIPopoverController from Toolbar

后端 未结 1 2026
陌清茗
陌清茗 2021-02-06 14:47

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

I tried using a UIViewController

1条回答
  •  遥遥无期
    2021-02-06 15:32

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

    0 讨论(0)
提交回复
热议问题