Created
December 11, 2015 19:23
-
-
Save jplazcano87/e0c585ff79927be424c3 to your computer and use it in GitHub Desktop.
show viewcontroller with navigation bar
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: AccountStoryboard, bundle: nil) | |
let vc : WelcomeViewController = storyboard.instantiateViewControllerWithIdentifier("WelcomeID") as WelcomeViewController | |
vc.teststring = "hello" | |
let navigationController = UINavigationController(rootViewController: vc) | |
self.presentViewController(navigationController, animated: true, completion: nil) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment