I have a UITabBarController
based application. The tabs will be created from database entries, so I don't know them in advance. I'd like to programmatically initialize a UINavigationController
subclass (I have a few different kinds) for each tab.
Ideally, I would really like to draw the whole UINavigationController
subclass + it's subview using Interface Builder, just like you can do when you add define the view for each tab in IB (that's when you know what the tabs will be in advance). I've tried setting the "Class identity" to my UINavigationController
subclass name, then add a UINavigationController
inside it, but obviously it didn't inject the instance at the "File's owner" level...
Thanks