title: Getting Initial View Controller from Storyboard inside the App Delegate
body: <p>I am trying to access the initial viewcontroller of my storyboard. It is a navigation controller which is wired up to a second viewcontroller via a seque. So after my application did finish launching I want to directly show the viewController that is connected through the segue. I tried it out with code like this but it doesn't work ...</p>
  
  <pre><code>UINavigationController *navController = (UINavigationController*)self.window.rootViewController;
  [navController.topViewController performSegueWithIdentifier:@"showLoginScreen" sender:self];
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p><strong><em>4 years later</em></strong>: </p>
  
  <p>If I look at my question again after 4 years, I honestly have no idea what my real problem was.</p>