Create a gist now

Instantly share code, notes, and snippets.

Typical modal segue preparation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
UINavigationController *navController = segue.destinationViewController;
MyViewController *realDestination = navController.viewControllers[0];
// Configure view controller
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment