title: Swift navigation controller - Hide view
body: <p>I have a problem with the navigation controller and the view. However, I have created a view with a constraint: "Top Space to: Top Layout Guide : 0". I get this result with the simulator:</p>
  
  <p><a href="https://i.stack.imgur.com/cpOpV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cpOpVl.png" alt="layout in simulator"></a></p>
  
  <p>How to get the view correctly?</p>
  
  <p>Thank you!</p>
  
  <p><strong>EDIT</strong> : </p>
  
  <p>The problem is the top of the view is hidden by the navigation controller. On my screenshot, you can see that the segmented control is cut ! The top of the view is not show, even in the storyboard file. </p>