Created
March 19, 2013 18:42
-
-
Save inailuy/5198914 to your computer and use it in GitHub Desktop.
Creating View Controller 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 *storyboard = [UIStoryboard storyboardWithName:@"Storyboard" bundle:nil]; | |
CustomVC *vc = [storyboard instantiateViewControllerWithIdentifier:STORYBOARDID_VC_ID]; | |
[self.navigationController pushViewController:vc animated:YES]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment