title: Creating a programmatic tab bar with storyboard view controllers?
body: <p>I have a tab bar that is created programmatically and I'm having difficulties initializing a storyboard associated with a view.</p>
  
  <p>I'm able to load the view successfully in the tab bar without the storyboard (see code below) but the view is only partially showing because some of the UI components are in the storyboard.</p>
  
  <p>The name of my storyboard is MainStoryboard and I set the storyboard view identifier to SettingsViewController.</p>
  
  <p>How can I initialize my storyboard for SettingsViewController in the code below?</p>
  
  <pre><code>- (void)createTabBarItems {
      tabBarController = [[UITabBarController alloc] init];
  
      settingsViewController  = [[SettingsViewController alloc] init];
  
  
      UINavigationController *sett = [[[UINavigationController alloc]
                                       initWithRootViewController: settingsViewController] autorelease];
  
      [sett.tabBarItem setTitle:@"Settings"];
      [sett.tabBarItem setImage:[UIImage imageNamed:@"settings.png"]];
  
      [tabBarController setViewControllers:
          [NSArray arrayWithObjects:sett, sett, sett, sett, nil]]; 
  }
  </code></pre>