Created
May 30, 2014 07:45
-
-
Save kirang89/f66a01a253322922b7d3 to your computer and use it in GitHub Desktop.
Doing a push segue using StoryBoard instance instead of the prepareForSegue method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UIStoryboard * myStoryboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil]; | |
DestinationViewController *dVC = [myStoryboard instantiateViewControllerWithIdentifier:@"storyboard_id_for_dVC"]; | |
[self.navigationController pushViewController:urlVC animated:YES]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment