What will I add to my root controller in an application that has tabs where the tab is a navigation controller?
Did I create derivative classes of navigation controllers, where everyone manages their view controller and manages the list of root tabbar and navigation controllers?
I believe that the "tab bar application" template in XCode will start you on it.
Once created, your MainWindow.xib file (under the "resources' in the project file) should have a UITabBarController , which is UIWindow is added to the code in the applicationDidFinishLaunchingWithOptions in the code: in your application representative.
Therefore, the app representative only knows "about the tab bar controller" Later, in the interface builder, you can specify a different XIB file to load for each tab In those XIB files, you want a UINavigationController .
If you do this, UITabBarController will take care of all the UINAVIGATION controllers for you immediately (good!). < / P>
Comments
Post a Comment