title: Black background when view rotates on orientation change
body: <p>I am fiddling with an orientation change responsive app in Xcode and am trying to figure out how I can change that my non-black view seems to rotate on a black background on orientation change! </p>
  
  <p>It looks something like this:</p>
  
  <p><img src="https://i.stack.imgur.com/JGKKk.png" alt="enter image description here"></p>
  
  <p>I would like to change the black background to the colour of my view - which is pink in the depicted case.</p>
  
  <p>When my app launches it also shows a black screen until the actual view appears. I have the feeling that it is the same black that becomes visible on orientation change?</p>
  
  <p>I have tried to change the background colour of the window in the did-finish-launching method of my app delegate, but that did not have any effect:</p>
  
  <pre><code>- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  
      self.window.backgroundColor = [UIColor purpleColor];
  
      ...
  }
  </code></pre>
  
  <p>Any suggestions? </p>