【问题标题】:iOS: One NavigationController for each tab from TabBar ControlleriOS:来自 TabBar 控制器的每个选项卡都有一个 NavigationController
【发布时间】:2012-01-13 12:21:24
【问题描述】:

我想做一个由 TabBar 控制的应用, but when a tab is selected a navigation controller with the navigation item at the top may be used.

This is the identical behavior of the AppStore, when the Search tab is selected, the Navigation Item have one objective, but in the Updates Tab there is another navigation item. 我认为一个不会影响另一个。

有这方面的文章或教程吗?

谢谢。

【问题讨论】:

    标签: ios controller navigation tabbar


    【解决方案1】:

    您可以在每个选项卡项中嵌入单独的 NavigationController。这将为您提供每个选项卡的独立导航堆栈。

    查看this answer,其中包含有关如何实现此功能的文档和教程的链接。

    【讨论】:

      猜你喜欢
      • 2014-01-27
      • 2017-09-04
      • 2019-04-30
      • 2013-11-22
      • 1970-01-01
      • 2016-03-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多