我认为我的问题的答案是“是”,但我想向每个人确认一下。
我有一个UITableView,当我选择一行时应该“滑动”到另一个UIViewController。 我之前用其他应用程序做过这件事(它们包括UINavigationController,尽管在UITabView中)。
所以我想知道: 是否需要UINavigationController才能使用self.navigationController pushViewController?
如果是这样(我再次怀疑),那么我必须在哪里定义UINavigationController? 在AppDelegate中? 在主/基本UIViewController中?
我有一个UITableView,当我选择一行时应该“滑动”到另一个UIViewController。 我之前用其他应用程序做过这件事(它们包括UINavigationController,尽管在UITabView中)。
所以我想知道: 是否需要UINavigationController才能使用self.navigationController pushViewController?
如果是这样(我再次怀疑),那么我必须在哪里定义UINavigationController? 在AppDelegate中? 在主/基本UIViewController中?