title: NavBar overlaps Status Bar in iOS 13 Swift
body: <p>In some devices as iPhone 7 and 8 the navigation bar overlaps status bar after do navigating, the parent view controller has status bar hidden but I show and hide it in viewWillAppear and viewWillDisappear respectively. I tested in iOS 12 and it works.</p>
  
  <p>I am using prefersStatusBarHidden to hidden the status bar.</p>
  
  <p>Here the Image
  <a href="https://i.stack.imgur.com/dVOZh.png" rel="noreferrer">Navbar Overlaps Status bar</a></p>
  
  <p><strong>Update:</strong>
  Here an example project: <a href="https://github.com/FranklinSamboni/NavBarTestSwfit" rel="noreferrer">https://github.com/FranklinSamboni/NavBarTestSwfit</a>. 
  It work fine in iOS 12 but with iOS 13 the navigation bar overlaps status bar in iPhone 7,8</p>
  
  <p>Images with iPhone 8 (simulator)
  <a href="https://i.stack.imgur.com/Kk0H5.png" rel="noreferrer">Home</a>
  The second view
  <a href="https://i.stack.imgur.com/uFqZ0.png" rel="noreferrer">Second View</a></p>