Question : dismiss two view controllers at once swift
Answered by : mobile-star
if let first = presentingViewController, let second = first.presentingViewController{ first.view.isHidden = true second.dismiss(animated: true) }
Source : | Last Update : Thu, 13 Feb 20
Question : dismiss two view controllers at once swift
Answered by : mobile-star
self.presentingViewController?.presentingViewController?.dismiss(animated: true, completion: nil)
Source : | Last Update : Thu, 13 Feb 20