I have a navigation controller that represents one modal viewController. From within this modal viewController, I present another modal viewController. All I want is to return from the last modal viewController to the navigationController (root viewController). Something similar to popToRootViewController, but adapted for modalViewControllers;
NavigationController β present Modal ViewController A β present Modal ViewController B
From modal ViewCOntroller B I want to return to navigationCOntroller.
Is it possible?
Appreciate Alex.
objective-c modalviewcontroller
Alexandru Circus
source share