Skip to content

Instantly share code, notes, and snippets.

@MoussaHellal
Created February 26, 2020 09:20
Show Gist options
  • Save MoussaHellal/c79edc7694aef0e59b0d5e521f95e337 to your computer and use it in GitHub Desktop.
Save MoussaHellal/c79edc7694aef0e59b0d5e521f95e337 to your computer and use it in GitHub Desktop.
@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