1

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

1 Answer 1

1
@IBAction func dismissView(){
    self.dismissViewControllerAnimated(true, completion: nil)
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.