Answers for "dismiss two view controllers at once swift"

1

dismiss two view controllers at once swift

if let first = presentingViewController,
        let second = first.presentingViewController{
          first.view.isHidden = true
          second.dismiss(animated: true)

     }
Posted by: Guest on February-06-2020
1

dismiss two view controllers at once swift

self.presentingViewController?.presentingViewController?.dismiss(animated: true, completion: nil)
Posted by: Guest on February-06-2020

Code answers related to "dismiss two view controllers at once swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language