Answers for "swift 5 dismiss to another view controller"

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 5 dismiss to another view controller"

Code answers related to "Swift"

Browse Popular Code Answers by Language