I have two view controllers in my storyboard and I need to push from view 1 to view 2.
I need to do this without connecting a segue directly from a button in my storyboard, I need to do it programatically.
How can I?
Thanks.
I have two view controllers in my storyboard and I need to push from view 1 to view 2.
I need to do this without connecting a segue directly from a button in my storyboard, I need to do it programatically.
How can I?
Thanks.
Completely w/o segues
[self.navigationController pushViewController:[self.storyboard instantiateViewControllerWithIdentifier:@"YourViewControllerIDinStoryBoard"] animated:YES];