Created
February 26, 2020 09:20
-
-
Save MoussaHellal/c79edc7694aef0e59b0d5e521f95e337 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@IBAction func changeButtonDidTapped(_ sender: Any) { | |
let chooseVC = storyboard?.instantiateViewController(identifier: "chooseVC") as! ChooseViewController | |
chooseVC.modalPresentationStyle = .fullScreen | |
chooseVC.delegate = self // This line of code | |
self.present(chooseVC, animated: true, completion: nil) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment