Skip to content

Instantly share code, notes, and snippets.

@swarut
Created September 29, 2012 15:17
Show Gist options
  • Save swarut/3804325 to your computer and use it in GitHub Desktop.
Save swarut/3804325 to your computer and use it in GitHub Desktop.
Objective-C : Initialize a specific viewcontroller from storyboard #objective-c #storyboard #viewcontroller
UIStoryboard *storyboard = self.storyboard;
MyViewController *view = [storyboard instantiateViewControllerWithIdentifier:@"MyViewController"];
self.view.window.rootViewController = view;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment