Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

dismiss two view controllers at once swift

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

     }
 
PREVIOUS NEXT
Tagged: #dismiss #view #controllers #swift
ADD COMMENT
Topic
Name
7+5 =