title: Layout issue with iPhone X
body: <p>When I am running my project in iPhone X simulator there is a black padding on top and bottom. I tried to add a safe layout guide and adjusted the view constraints as well but I'm still facing the same issue. Thanks in advance for any kind of help.</p>
  
  <p><a href="https://i.stack.imgur.com/TXvzi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TXvzil.png" alt="black padding on iPhone X"></a></p>