title: Get safe area inset top and bottom heights
body: <p>On the new iPhone X, what would be the most proper way to get both top and bottom height for the unsafe areas?</p>
  
  <p><a href="https://i.stack.imgur.com/hQXf7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hQXf7.png" alt="enter image description here"></a></p>