title: Splash Screen in iPhone app using Storyboard with delay
body: <p>So I know Default.png can be used for a splash screen in an iPhone app but I find it looks unprofessional because there is no animation once the application has completed loading. </p>
  
  <p>So I am trying to add a splash screen that will fade out and then go to the last previous view.</p>
  
  <p>Most of the examples on the internet tend to be based around the old way of doing things with addSubview. How would I go about adding this to my storyboard application.</p>
  
  <p>Current Code ( timings are wrong because I wasn't sure it was working originally )</p>
  
  <pre><code>    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      splashView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Default2.png"]];
      splashView.frame = CGRectMake(0, 0, 324, 480);
      [_window addSubview:splashView];
      [_window bringSubviewToFront:splashView];
      [_window makeKeyAndVisible];
  
      [self performSelector:@selector(removeSplash) withObject:nil afterDelay:1500.2];
      return YES;
  }
  
  -(void)removeSplash;
  {
      [UIView animateWithDuration:1.0 animations:^{self.splashView.alpha = 0.0;} completion:^(BOOL finished){ [splashView removeFromSuperview]; }];
      [splashScreen release];
  }
  </code></pre>