views:

88

answers:

1

Is it just a tab-bar controller that loads some UITableViews that has navigation items set? Or is it a tab-bar controller that is loading a navigation controller?

+3  A: 

Tab-bar controller loading navigation controllers. That's the proper way to enable table drilling down to the content. If I recall properly you have to do this in code, IB can't nest these properly.

jamone
According to this thread: http://stackoverflow.com/questions/2830012 apparently nesting a nav controller inside of a tab-bar controller is not recommended?
Sheehan Alam
@Sheehan that thread seems to say the opposite: you shouldn't put a tab-bar controller inside a nav controller.
David Gelhar
I think you are reading that backwords. Apple doesn't want you putting a `UITabBarController` IN a `UINavigationController` however what I'm saying is to do the exact opposite. You have a `UITabBarController` and in some or all of the tabs you insert a `UINavigationController`.
jamone
You can actually do it in IB with the second view mode (tree view). See http://www.cimgf.com/2009/06/25/uitabbarcontroller-with-uinavigationcontroller-using-interface-builder/
0xced