title: iPhone App Rejected: first time launch the screen turns white on iPad
body: <p>My iPhone only app got rejected, but when Apple tried it on an iPad x1/x2 the app turned white after the launch screen. I think the status bar is the problem, but I'm not sure. I have <code>View controller-based status bar appearance</code> <code>NO</code> in plist. And then on my first VC in a PageViewController I use <code>UIApplication.sharedApplication().statusBarHidden = false</code>.</p>
  
  <p>The app runs as it should when it's removed from memory and reopened.</p>
  
  <p>Has anyone else faced the same problem?</p>
  
  <p><strong>Edit</strong>:</p>
  
  <p>Some more info: After LaunchScreen my first ViewController is a PageViewController and in the first ViewController I open a loading ViewController while downloading some json. This looks/appears as an extension of the launch screen but with a animation of the image used in LaunchScreen, when the JSON is downloaded I remove it and my PageViewController shows.</p>
  
  <pre><code>self.loadingViewController = LoadingiewController()
  self.loadingViewController!.view.frame = self.view.bounds
  self.navigationController?.view.addSubview(self.loadingViewController.view)
  </code></pre>
  
  <p><strong>Edit2</strong>: </p>
  
  <p>So I still have the problem. It's only in the TestFlight version. I'm manipulating the status bar from Light to Default, hidden to visible. </p>
  
  <p>Under Xcode/Devices live log I get this:</p>
  
  <pre><code>&lt;Warning&gt;: Unable to simultaneously satisfy constraints.
      Probably at least one of the constraints in the following list is one you don't want. 
      Try this: 
          (1) look at each constraint and try to figure out which you don't expect; 
          (2) find the code that added the unwanted constraint or constraints and fix it. 
  (
      "&lt;NSLayoutConstraint:0x13e61d790 V:|-(20)-[UIInputSetContainerView:0x13e546f30]   (Names: '|':UITextEffectsWindow:0x13e544af0 )&gt;",
      "&lt;NSLayoutConstraint:0x13e632b30 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x13e546f30]   (Names: '|':UITextEffectsWindow:0x13e544af0 )&gt;"
  )
  
  Will attempt to recover by breaking constraint 
  &lt;NSLayoutConstraint:0x13e61d790 V:|-(20)-[UIInputSetContainerView:0x13e546f30]   (Names: '|':UITextEffectsWindow:0x13e544af0 )&gt;
  
  Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
  The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in &lt;UIKit/UIView.h&gt; may also be helpful.
  </code></pre>
  
  <p><strong>Edit3</strong>:</p>
  
  <p>So I just noticed. If I open the app newly installed from the TestFlight popup/alert window the constraint gets broken and the app goes white. But! If I open the app from the SpringBoard the first time it works. This is so strange.</p>