title: Presenting TabBarController's second Tab from NavigationController
body: <p>I'm trying when I successfully pass from entry viewController (LoginViewController), the Tab Bar open the second tab item. I know how to do it if the Tab Bar was the entry point of the app, with this code in appDelegate.m file:</p>
  
  <pre><code>UITabBarController *tabBar = (UITabBarController *)self.window.rootViewController;
  [tabBar setSelectedIndex:1];
  </code></pre>
  
  <p>but this doesn't help me a lot this time.</p>
  
  <p>I start thinking maybe a solution is to create a custom class for Tab Bar Controller but I m not sure how to do it.</p>
  
  <p>Right now when the user successfully login in, this line of code controllers the segue between LoginViewController(button) and TabBarController.</p>
  
  <pre><code>[self performSegueWithIdentifier:@"loginToTabBarSegue" sender:self];
  </code></pre>