0
votes

I'm confused about the Navigation-based app template. Does it not provide you with a UINavigationController? Because RootViewController is a UITableViewController, so what do I use as the navigation controller? (where do I actually do the pushing?) Do I have to make my own navigationController? Where should I make it? And why would something called a Navigation-based app not provide you with a navigation controller? I'm very confused. Thanks for any help

2

2 Answers

0
votes

It's in the MainWindow.xib On code, it will be connected to the IBOutlet in your AppDelegate. In applicationDidFinishLaunching this will be added and made as the key window.

0
votes

Navigation controller is added on mainWindow.xib and connected through an IBOutlet in appDelegate class. in applicationDidFinishLaunching method navigation controller'v view is added to window. Navigation controller has one view controller which is assigned class named rootViewcontroller and assigned a nib named rootviewcontroller. you can see by opening and inspectind mainwindow.xib.