harsh_v
harsh_v

Reputation: 3269

navigate between two UINavigationController

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

enter image description here

Upvotes: 1

Views: 91

Answers (1)

Rutger Huijsmans
Rutger Huijsmans

Reputation: 2408

@IBAction func dismissView(){
    self.dismissViewControllerAnimated(true, completion: nil)
}

Upvotes: 1

Related Questions