title: The custom presentation style presentedViewController view frame is wrong
body: <p>When I present a viewcontroller when <code>voice memos</code> is recording(The height of status bar is 40 px and red color). The presentedViewController's view frame is (0.0, 20.0, 320.0, 548.0). </p>
  
  <p>I don't know the reason. But when I present a UINavigationControllerthe that rootviewcontroller is the viewcontroller, that works fine. Screenshot as below.</p>
  
  <p><img src="https://i.stack.imgur.com/6LT30.png" width="200"/></p>
  
  <p>I print the description of each view:</p>
  
  <pre><code>(lldb) po self.pageViewController.view.description
  "&lt;_UIPageViewControllerContentView: 0x165ba360; frame = (0 20; 320 548); clipsToBounds = YES; opaque = NO; autoresize = W+H; layer = &lt;CALayer: 0x165a57b0&gt;&gt;"
  
  
  (lldb) po self.view.description
  "&lt;UIView: 0x166bc6b0; frame = (0 20; 320 548); autoresize = W+H; gestureRecognizers = &lt;NSArray: 0x166bdb10&gt;; layer = &lt;CALayer: 0x166ac770&gt;&gt;"
  
  
  (lldb) po self.view.superview?.description
  ▿ Optional&lt;String&gt;
    - some : "&lt;UITransitionView: 0x166bdca0; frame = (0 20; 320 548); autoresize = W+H; layer = &lt;CALayer: 0x166bdbd0&gt;&gt;"
  
  
  (lldb) po self.view.superview?.superview?.description
  ▿ Optional&lt;String&gt;
    - some : "&lt;UIWindow: 0x1668bb00; frame = (0 0; 320 568); autoresize = W+H; gestureRecognizers = &lt;NSArray: 0x1668c2c0&gt;; layer = &lt;UIWindowLayer: 0x16689700&gt;&gt;"
  </code></pre>
  
  <p>The blue view is the presentingViewController's view.</p>
  
  <p>I can solve the bug refer to <a href="https://stackoverflow.com/questions/22052700/handling-in-call-status-bar-with-custom-modal-presentation">Handling In-Call Status Bar with Custom Modal Presentation</a>.</p>
  
  <p>What's the reason of this bug? How can I solve the bug with any other better way?</p>