通过弹出窗口中的按钮更改视图

发布于 2024-12-03 16:41:42 字数 91 浏览 2 评论 0原文

我最初有一个标签栏来更改应用程序中的视图。然而现在我已经摆脱了标签栏并拥有一个带有菜单按钮的工具栏。当按下此按钮时,会出现一个弹出窗口,其中包含有望更改我的屏幕的按钮。

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

燕归巢 2024-12-10 16:41:43

当您创建 UIPopoverController 时,您设置一个 UIViewController,它可以有一个类,您可以在其中为控制器定义协议,该控制器创建通知任何消息的 UIPopoverController行动...

When you create a UIPopoverController you set a UIViewController which can have a class where you define a protocol for the controller that creates the UIPopoverController notified of any action...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文