Facing Problem When You have to dismiss two view controllers at a time in Swift 3
For Example- ViewController1-AlertViewController2-ViewController3
Now you have to dismiss ViewController3 to ViewController1 than you have to call -
self.presentingViewController?.presentingViewController?.dismiss(animated: true, completion: nil)
No comments:
Post a Comment