将 UINavigationController 添加到 UITabBarController
我有一组 10 个 navigationViewControllers
我想要 UITabBarController
这一切都工作正常,除了当我想查看“更多”选项卡中的 UINavigationController 时它不会切换到它。它什么也不做。如果我将其更改为 UIViewController,它就可以正常工作.. 好的,在“更多”选项卡中,您会自动拥有一个 UINavigationController 供您使用,但是如果用户切换选项卡的顺序,并且不再在“更多”选项卡中,您就没有UINavigationController
...
有什么提示吗?
I have a set of 10 navigationViewControllers
i want to the UITabBarController
this all just works fine except the fact when i want to see a UINavigationController that is in the "more" tab it doesn't switch to it. it does nothing. if i change that to a UIViewController it just works fine .. ok in the more tab you automatically have a UINavigationController to you disposal but if the user switches the tab's order and its not anymore in the "more" tab you don't have a UINavigationController
...
any tips ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 UIViewControllers,当您需要额外的导航时,将 UINavigationController 推送到堆栈上,它将解决任何用例的问题。
不确定你的设计是否真的需要 10 个 UINavigationController。在导航时更改标题和按钮会更好。但我不确定你想做什么。
Use UIViewControllers, and when you need additional navigation, push a UINavigationController on the stack, it'll solve your problem for any use case.
Not sure you're design really needs 10 UINavigationController. Much better to change titles and buttons while navigating. But i'm not sure what you're trying to do.