I've got a UITabController. One of the tabs is a UINavigationController. Pushing and popping the navigation stack works just fine. Every UIViewController has his own NIB with just the UIView hooked up. But unfortunately I only get a title displayed for the root navigation controller!
Usually when creating a UIViewController in a NIB you have a title attribute that you can set. But in this case the view controller is the NIB file owner. And in IB there is no way to set the title.
What I can do is to set the title in initWithNib and then it shows up.
if (self = [super initWithNibName: @"MyViewController" bundle:nil]) {
self.title = @"test";
}
But I want to define the title in IB.
I am a bit lost here. Any suggestions?