Last active
May 8, 2019 10:28
-
-
Save amirhanov/09b8ab6a0d91c379ee1f9dfdbd4b2ca5 to your computer and use it in GitHub Desktop.
Как перейти из одного ViewController на другой ViewController с помощью Storyboard ID.
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
let storyBoard: UIStoryboard = UIStoryboard(name: "Main VC", bundle: nil) | |
let newViewController = storyBoard.instantiateViewController(withIdentifier: "Your Storyboard ID") as! newViewController | |
self.present(newViewController, animated: true, completion: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment