title: Present ViewController Error
body: <p>In my storyboard, I have two UIViewControllers. The initial view controller is a loading/splash screen that shows a simple image. The second view controller is a UIWebView.</p>
  
  <p>I am trying to replace the loading view controller with the UIWebView view controller after the app fully loads. </p>
  
  <p>Inside my loading view controller, I have this code to present the UIWebView:</p>
  
  <pre><code>UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
  UIViewController *viewController = [storyboard instantiateViewControllerWithIdentifier:@"WebView"];
  
  [self presentViewController:viewController animated:NO completion:^(void){}];
  </code></pre>
  
  <p>However, this code throws the following error:</p>
  
  <pre><code>Warning: Attempt to present &lt;WebController: 0x145617960&gt; on &lt;LoadingController: 0x145610c40&gt; whose view is not in the window hierarchy!
  </code></pre>
  
  <p>Am I doing something wrong?</p>
  
  <p>Thanks for any help/suggestions.</p>