title: How to create a fixed navigation bar iOS Swift
body: <p>I want to create a fixed header that doesn't scroll with tableViewCells, or other content that I have. The header should stay in place <em>fixed</em>, just like in most iOS apps. </p>
  
  <p>Here is the image of the issue I'm facing: </p>
  
  <p><a href="https://i.stack.imgur.com/FmEQ5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FmEQ5.png" alt="enter image description here"></a></p>
  
  <p>I tried embedding it in a NavigationController &amp; a TabViewController. That didn't work. </p>
  
  <p>I also tried adding a scroll-view. </p>
  
  <p>I referred to this link but it's outdated and didn't help: <a href="https://stackoverflow.com/questions/9704508/how-iphone-facebook-app-make-the-navigation-bar-fixed">how iphone facebook app make the navigation bar fixed</a></p>
  
  <p>Thanks.</p>