Skip to content

Instantly share code, notes, and snippets.

@MaximAlien
Created January 19, 2016 14:03
Show Gist options
  • Save MaximAlien/8b9efb7be5a51a8c0e3b to your computer and use it in GitHub Desktop.
Save MaximAlien/8b9efb7be5a51a8c0e3b to your computer and use it in GitHub Desktop.
[iOS] UIViewController creation which has xib in storyboard
CustomViewController *customViewController = [[UIStoryboard storyboardWithName:@"Main" bundle:nil] instantiateViewControllerWithIdentifier:@"CustomViewController"];
[self.navigationController showViewController:customViewController sender:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment