I have a navigation controller that should have a different root depending on the state of my application.
How can I simulate this in Interface Builder? I pulled UINavigationControllerinto my storyboard. Now I need to establish connections with two controllers.
Unfortunately, I can only install one of the root view controllers. Is it necessary to subclass the navigation controller and based on the reset state of the root view controller?
What is the best practice for this kind of problem? It would be nice to visualize this relationship in Interface Builder.
Thanks in advance for any help.
source
share