title: Swift: Tableview scrolls under navigation bar but over status bar?
body: <p>I hid the navigation bar's shadow using the following trick: </p>
  
  <pre><code>    self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: .default)
      self.navigationController?.navigationBar.shadowImage = UIImage()
  </code></pre>
  
  <p>I also have the following set:</p>
  
  <pre><code>    self.extendedLayoutIncludesOpaqueBars = true
      self.automaticallyAdjustsScrollViewInsets = true
      self.tabBarController?.tabBar.isHidden = true
  </code></pre>
  
  <p>Everything looks fine on my page, except that when I scroll up my <code>tableView</code> it goes under the navigation bar as expected, but above the status bar:</p>
  
  <p><a href="https://i.stack.imgur.com/iWkVx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iWkVx.png" alt="See tableView scrolling above status bar?"></a></p>
  
  <p>How do I make sure that the <code>tableView</code> scrolls under both the navigation bar and status bar?</p>