Instantly share code, notes, and snippets.

Embed
What would you like to do?
#define ROOTVIEW [[[UIApplication sharedApplication] keyWindow] rootViewController]
[ROOTVIEW presentViewController:[[UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]]instantiateViewControllerWithIdentifier:@"AnotherViewController"] animated:YES completion:^{}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment