Answers for "swift dismiss viewcontroller"

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 "swift dismiss viewcontroller"

Code answers related to "Swift"

Browse Popular Code Answers by Language