iOS5 - Storyboard/Segues - 在 UINavigationController 中返回/跳转到之前的 UIViewController
我正在使用 Storyboard 开发一个 iOS5 iPhone 项目。我正在使用一个基于 UINavigationController 的应用程序并推送一些 UIViewControllers。我想知道以超过 1 个后级跳回先前 UIViewController 的最佳方法是什么。这里有更详细的解释:
(All is managed with a UINavigationController)
RootController is ViewController1
I push ViewController2
From ViewController2, I push ViewController3
I want to come back to UIViewController1 from a UIButton in UIViewController 3
对最佳方法有什么建议吗?
非常感谢
已解决!使用Delegate模式设计并切换到UIViewController1。
I'm working on an iOS5 iPhone project with Storyboard. I'm using an app based on UINavigationController and pushing some UIViewControllers. I want to know what is the best approach to jump back with more than 1 back level to a previous UIViewController. Here a more detailed explanation:
(All is managed with a UINavigationController)
RootController is ViewController1
I push ViewController2
From ViewController2, I push ViewController3
I want to come back to UIViewController1 from a UIButton in UIViewController 3
Any suggestion for the best approach?
Thank you very much
SOLVED! using Delegate patter design and switching to UIViewController1.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论