Last active
February 24, 2020 14:13
-
-
Save MoussaHellal/0752eb9060ebae94c6b8d73a92410532 to your computer and use it in GitHub Desktop.
This file contains 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
class MainViewController: UIViewController { | |
@IBOutlet weak var changeButton: UIButton! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
} | |
@IBAction func changeButtonDidTapped(_ sender: Any) { | |
let chooseVC = storyboard?.instantiateViewController(identifier: "chooseVC") as! ChooseViewController | |
chooseVC.modalPresentationStyle = .fullScreen | |
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