I'm trying to dynamically, using code change the Root of my UINavigationController thru his subclass.
Basically, my Storyboard looks like this:
#MARK : App Storyboard
As you can see, I set the the CustomNavigationController as the Initial View Controller option (thru the Storyboard).
How can I, thru the CustomNavigationController class, set up the root ViewController that will be displayed when i'll run the app?
#MARK : 'CustomNavigationController' class
class CustomNavigationController: UINavigationController {
// What method should i use?
}
