title: UIScreen main bounds does not respect actual device screen size
body: <p>I wanted to create a project without any storyboards.</p>
  
  <p>I have deleted the Main and LaunchScreen storyboards.</p>
  
  <p>As usual I added to my applicationDidFinishLaunchingWithOptions: </p>
  
  <pre><code>        window = UIWindow(frame: UIScreen.main.bounds
          window?.rootViewController = ViewController()
          window?.makeKeyAndVisible()
  </code></pre>
  
  <p>Now in Project Settings -> General if I leave Launch Screen File empty <code>UIScreen.main.bounds</code> is </p>
  
  <pre><code>(CGRect) $R12 = (origin = (x = 0, y = 0), size = (width = 320, height = 480))
  </code></pre>
  
  <p>And I get the following screen:</p>
  
  <p><a href="https://i.stack.imgur.com/FC9bP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FC9bP.png" alt="enter image description here"></a></p>
  
  <p>Now if I add something to the <code>Launch Screen File</code> field, in Info.plist -> Information Property List a new line with key <code>Launch screen interface file base name</code> appears and the bounds are correct. The bounds are correct even if the value is empty.</p>
  
  <p>Why does the existence of <code>Launch screen interface file base name</code> affect UIScreen bounds?</p>