title: Display the image used as launch image fullscreend as background
body: <p>I am trying to show the image that is used as launch image as background and as fade between launch and first view.
  I "select" the image I want to use as follows:</p>
  
  <pre><code>NSString *defaultImageName = @"Default.png";
  CGFloat imageScale = [[UIScreen mainScreen] scale];
  CGSize imageSize = [[UIScreen mainScreen] applicationFrame].size;
  if (imageScale &gt; 1) {
      if (imageSize.height &lt; 500) {
          defaultImageName = @"Default@2x.png";
      } else {
          defaultImageName = @"Default-568h@2x.png";
      }
  }
  backimg = [UIImage imageNamed:defaultImageName];
  UIImageView *backgroundImage = [[UIImageView alloc] initWithImage: backimg];
  [self.view addSubview:backgroundImage];
  [self.view sendSubviewToBack:backgroundImage];
  </code></pre>
  
  <p>Sadly the image isn´t shown fullscreen, it is display scaled:
  <img src="https://i.stack.imgur.com/gZlP9.png" alt="wrong"></p>
  
  <p>instead of</p>
  
  <p><img src="https://i.stack.imgur.com/nQpQG.png" alt="correct"></p>
  
  <p>Can anyone help with that?</p>
  
  <p><strong>Update #1:</strong><br />
  solved using <code>[backgroundImage setFrame:CGRectMake(0, 0,self.view.frame.size.width , self.view.frame.size.height)];</code></p>