Skip to content

Instantly share code, notes, and snippets.

@inailuy
Created March 19, 2013 18:42
Show Gist options
  • Save inailuy/5198914 to your computer and use it in GitHub Desktop.
Save inailuy/5198914 to your computer and use it in GitHub Desktop.
Creating View Controller from Storyboard
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