通过弹出窗口中的按钮更改视图
我最初有一个标签栏来更改应用程序中的视图。然而现在我已经摆脱了标签栏并拥有一个带有菜单按钮的工具栏。当按下此按钮时,会出现一个弹出窗口,其中包含有望更改我的屏幕的按钮。
I orignally had a tab bar to change views within my app. However now I've gotten rid of the tab bar and have a toolbar with a menu button. When this button is pushed, a popover comes up with buttons that will hopefully change my screen.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您创建
UIPopoverController
时,您设置一个UIViewController
,它可以有一个类,您可以在其中为控制器定义协议,该控制器创建通知任何消息的UIPopoverController
行动...When you create a
UIPopoverController
you set aUIViewController
which can have a class where you define a protocol for the controller that creates theUIPopoverController
notified of any action...