I think I\'ve found the cause: Document Info window in IB has a warning: \"\'Selected Navigation Controller (Second)\' has nib name property set to \'SecondView.nib\', but t
First, it looks like you have your UITabBarItem
s under the navigation controllers instead of directly under the UITabBarController
. That may be part of your problem.
Second, when you add a UITabBarController
in IB and and click on its icon in your list of top-level objects (your first screenshot), the attributes inspector will allow you to change the type of view controller for each of the tabs. Using this, you can change them all to navigation controllers, if you wish. Also, since you wanted to load custom views and view controllers from other nibs, if you look at the "View Controller" section at the bottom of the attributes inspector, you can select a nib from your project to load the view from. Assuming that nib's "File's Owner" is set to your UINavigationController
subclass, it should all work fine.
All of this without a large amount of coding work, either. Let me know if you'd like screenshots for what I'm talking about in case you can't find these panels.