I need to create a UITabBarController which will have in a tab a UITableViewController which can be navigated. So, I created the UITabBarController in Interface Builder. I implemented my subclass of UITableViewController as well.
What I can’t understand from the Apple documentation is how I should insert my implementation of the UITableViewController in the UITabBarController so that it can also be navigated? Should I add to the UITabBarController the UITableViewController or the UINavigationController? And how do I link the UITableViewController to the UINavigationController?
Thanks!
The hierarchy is like this:
Screenshot:
To reference the UINavigationController in code you use: self.navigationController