How to use storyboard?
Between the controller and the contrller. We can use it to jum. You can use it for online operations and use code.
how to use code to jum?
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"yourStroyboardName" bundle:nil]; // Instantiates and returns the view controller with the specified identifier UIViewController *viewController = [storyboard instantiateViewControllerWithIdentifier:@"storyboardId"]; [self.navigationController pushViewController:viewController animated:YES];
On the way to access the controller. We can also use the following methods.
// return the initial view controller in the storyboard UIViewController *viewController = [storyboard instantiateInitialViewController];
to be continues... ...