我正在制作一个带有标签栏 Controller 的应用程序,它将在其中包含一个 listView。当您单击该 listView 时,它将导致另一个带有 webView 的 View 。我在这个确切主题的 stackoverflow 上找到了一些答案,但他们都没有使用 Storyboard 。这是我需要完成的图片:
我的标签栏能够显示 ListView ,但是当我点击一个选项时它崩溃了,它是这样说的:“Push segues can only be used when the source controller is managed by a instance of UINavigationController.”顺便说一句,这是一个 RSS 提要应用程序,这就是为什么有一个 webView。
感谢您的帮助!
最佳答案
我找到了解决我自己问题的方法。
1) 选择初始 View 。
2)点击Editor -> Embed In -> Navigation Controller
希望这对您有所帮助!
关于ios - 如何将导航 Controller 放入标签栏 Controller 中?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23031525/