title: Display Image To Extend Splash Screen Using Storyboards in iPhone SDK
body: <p>I have this app that has tabs and each tab's root view controller is a navigation controller. I want to display my splash screen or launch image while the app is busy parsing JSON and loading it up in my core data stack and remove it from superview using a fade out animation. I tried this code to make it work but I'm stuck since the image is only displayed on the view inside the navigation controller. What I wanted is to view it full screen with the status bar on top like what you see when launching an app.</p>
  
  <pre><code>_launchImageView = [[UIImageView alloc] initWithFrame:[UIScreen mainScreen].bounds];
  
  if (kFourInchDevice) {
      _launchImageView.image = [UIImage imageNamed:@"Default-568h@2x.png"];
  }
  
  [self.view addSubview:_launchImageView];
  [self.view bringSubviewToFront:_launchImageView];
  </code></pre>
  
  <p>And this is my code when dismissing it:</p>
  
  <pre><code>[UIView beginAnimations:nil context:nil];
  [UIView setAnimationDuration:1.0];
  [UIView setAnimationCurve:UIViewAnimationCurveLinear];
  [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:self.view cache:YES];
  [UIView setAnimationDelegate:self];
  [UIView setAnimationDidStopSelector:@selector(launchImageFadeAnimationDidFinished)];
  _launchImageView.alpha = 0.0;
  [UIView commitAnimations];
  
  - (void)launchImageFadeAnimationDidFinished
  {
      [_launchImageView removeFromSuperview];
  }
  </code></pre>
  
  <p>Any ideas on how to do this? Thanks!</p>