UINavigationBar 中的菜单
有没有一种简单的方法来实现这样的菜单?或者我必须自己用 popoverViewController 和几个 UIButtons 构建它?
多谢!
Is there an easy way to achieve a menu like this? Or do I have to build it with a popoverViewController and several UIButtons by myself?
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以尝试使用
UIActionSheet
并使用以下方法来呈现它:我没有尝试过,但从文档来看它看起来很有希望。
此方法也可能具有相同的效果:
You could try to use a
UIActionSheet
and use the following method to present it:I did not try it out, but it looks promising from the docs.
This method might also have the same effect:
你是对的,使用
UIPopoverController
,并添加你自己的内容。有用的教程。You're right, use
UIPopoverController
, and add you're own content. Useful tutorial.