带按钮的 iPad UIPopoverController,与通讯录应用程序相同
我想创建一个包含按钮的 PopoverController,如下所示:
我可以创建一个包含两个按钮的 UIViewController ,但它们与上面屏幕截图中显示的内容不同,
我该如何实现这一目标?
谢谢
I would like to create a PopoverController containing buttons, like this one:
I can create a UIViewController containing two buttons, but they won't be identical to those shown on screenshot above
How can I achieve this ?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个
UIActionSheet
。在 iPad 上,当给定要呈现的特定矩形时,
UIActionSheet
类将自身呈现为弹出视图。如果没有给定的矩形,它将显示在屏幕中央,类似于UIAlertView
。That is a
UIActionSheet
.On the iPad the
UIActionSheet
class presents itself as a popover view when given a particular rect to present from. Without the given rect, it will display in the centre of the screen similar to aUIAlertView
.