title: Hide navigation bar when scrolling web view without navigation controller in iOS
body: <p><a href="https://stackoverflow.com/a/37987522">I want the same behaviour as this</a></p>
  
  <p>How do you hide navigation bar when scrolling in web view if the main view has a navigation bar without a navigationController? Navigation bars don't have the alternative via storyboard to check 'hide bars on swipe'.</p>
  
  <p>This will not work either </p>
  
  <pre><code>self.navigationController.hidesBarsOnSwipe = true
  </code></pre>
  
  <p>This is what my SB looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/3P4et.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3P4et.png" alt="This is what my SB looks like:"></a></p>
  
  <p>Regards</p>