I'm triying to combine a TabBar + Navigation app.
I have 5 tab bars, 4 are listing of stuff and drill down to details views.
I try to follow this tutorial:
http://www.iphonedevforums.com/forum/iphone-sdk-development/124-view-controller-problem.html
But always get a blank view.
This is what I do, with a clean project:
- I start with a TabBar template app.
- I put 5 tab bar buttons.
I create a controller like:
@interface FirstViewController : UINavigationController {
}
- I put the main window.xib on tree mode & change the selected first view to
FirstViewController
- I select the TabBar Controller in Interface builder, go to TabBar Attributes & change the class to navigation controler.
- Select the fist view & put the nib name "SecondView"
In response, I get a blank screen.
I must add that I wanna navigate from the details views, no from the main windows.
i.e in the main window tab bar 1 is the list of people. I select a person then wanna navigate to the detail window.