在 UITabBarController 内的 UITableViewController 中创建 UINavigationController [英] Create UINavigationController in UITableViewController inside UITabBarController
问题描述
我有一个基于 UITabBarController 的应用程序,在其中一个标签中我有 UITableViewController 来显示产品",直到这里一切正常.>
现在我想在点击 UITableViewController 内的一个单元格时打开一个 UINavigationController 以显示带有该产品详细信息的 UIViewController.
我认为应用程序的层次结构应该如下所示:
UITabBarController (BASE) Level-1||___ UITableViewController (PRODUCTS) Level-2||___ UINavigationController Level-3||___ UIViewController(产品详细信息)Level-4
如何达到Level-3和Level-4?
提前致谢:)
请观看本教程.http://www.youtube.com/watch?v=LBnPfAtswgw
I have an application with based of UITabBarController, and inside one of the tabs I have UITableViewController to display "products", till here everything is working perfectly.
Now I want when clicking one of the cells inside the UITableViewController to open a UINavigationController to display UIViewController with details of that product.
I think the application hierarchy should be like the following:
UITabBarController (BASE) Level-1
|
|___ UITableViewController (PRODUCTS) Level-2
|
|___ UINavigationController Level-3
|
|___ UIViewController (PRODUCT DETAILS) Level-4
How to achieve Level-3 and Level-4?
Thanks in advance :)
Just watch this tutorial. http://www.youtube.com/watch?v=LBnPfAtswgw
这篇关于在 UITabBarController 内的 UITableViewController 中创建 UINavigationController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!