【发布时间】:2016-05-31 13:17:10
【问题描述】:
我有一个用 Objective-c 编码的 Tab Bar 应用程序。我拥有的选项卡视图之一是 TableView。 What I'm trying to do is, when a cell of this TableView is selected, the app takes the user to another view, but this view isn't on the tab menu, and I don't want to lose the tab menu when出现此视图。
有可能吗?如何?在网上找不到太多内容。
【问题讨论】:
-
你想在同一个 UIViewController 中显示 UIView 吗?
-
你需要使用容器视图!或者构建你自己的标签栏控制器!
-
我想展示一个 UIViewController 但不想丢失标签栏
-
如果将带有表格视图的视图控制器放入导航控制器,则可以推送带有新视图的控制器。
-
2 选项要么在顶部推送一个新的 UiViewcontroller,假设您在该选项卡中有一个 UINavigationController。或展示一个模态视图控制器
标签: ios objective-c uitabbarcontroller