尝试模仿 Apple iPad popover 风格
如果有人问这个问题,我深表歉意,但我真的找不到。
本质上,我试图模仿内置 Apple 应用程序使用的弹出窗口的外观。特别是,不是使用表视图列表的弹出窗口,而是那些内部只有按钮的弹出窗口。
例如,在邮件应用程序中,单击屏幕右上角的向左箭头,会显示一个带有四个按钮的弹出窗口:回复、回复全部、转发、打印。
这个特定的弹出窗口是如何创建来呈现这种外观的?
我尝试制作自己的具有黑色背景和圆形矩形按钮的 UIViewController,但它看起来不一样。任何帮助将不胜感激!
谢谢。
My sincere apologies if this question has been asked, but I really couldn't find it.
Essentially, I am trying to mimic the look of the popovers used by the built-in Apple applications. In particular, not the popovers that use a tableview list, but rather those popovers that only have buttons inside.
For example, in the Mail app, clicking the left-facing arrow on the top right of the screen, a popover is shown with four buttons: Reply, Reply All, Forward, Print.
How is this particular popup created to give that look?
I have tried making my own UIViewController with a black background and Round Rect Buttons, but it doesn't look the same. Any help would be much appreciated!
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个
UIActionSheet
。在 iPad 上,如果它不是从另一个弹出窗口中呈现,则会出现“弹出窗口”外观。It's a
UIActionSheet
. On iPad, it gets a "popover" appearance if it's not presented from within another popover.