Xcode: Using Multiple Storyboards in Your App
Intro:
You can use more than one storyboard file in Xcode to keep different aspects of your app separate and organized. In this tutorial we create a simple app that uses one storyboard for the main application and a separate storyboard for the settings view controllers.
Key Code:
UIStoryboard *settingsStoryboard = [UIStoryboard storyboardWithName:@"SettingsStoryboard" bundle:nil];
UIViewController *initialSettingsVC = [settingsStoryboard instantiateInitialViewController];
initialSettingsVC.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:initialSettingsVC animated:YES];
Download the project:





