Reputation: 3269
I have two UINavigationController. The second UINavigationController is segue from the first one.
How do I go back to the initial View.
Below is the storyboard.
note: The root view of the initial NavigationController is has a container from which is am performing segue
Upvotes: 1
Views: 91
Reputation: 2408
@IBAction func dismissView(){
self.dismissViewControllerAnimated(true, completion: nil)
}
Upvotes: 1