Last active
December 16, 2015 04:09
-
-
Save dbonates/5374916 to your computer and use it in GitHub Desktop.
Load ViewController from storyboard
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
UIStoryboard *sb = self.storyboard; | |
LoginViewController *loginWindow = (LoginViewController *)[sb instantiateViewControllerWithIdentifier:@"LoginWindow"]; | |
[self presentViewController:loginWindow animated:YES completion:nil]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment