title: View under status bar in iPhone X simulator distorted
body: <p>I have recently upgraded to xcode 9 and run my project on simulator iPhone X and the view under status bar is distorted. In other phone everything is working fine.</p>
  
  <p>Distorted view in iPhone X</p>
  
  <p><a href="https://i.stack.imgur.com/l4huy.png" rel="noreferrer"><img src="https://i.stack.imgur.com/l4huy.png" alt="enter image description here"></a></p>
  
  <p>Undistorted view in other phones</p>
  
  <p><a href="https://i.stack.imgur.com/FZQcb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/FZQcb.png" alt="enter image description here"></a></p>