title: Different navigation item for each view in tab bar controller
body: <p><strong>The Problem</strong></p>
  
  <p>I'm relatively new to Swift and I'm trying to build an application that makes use of a UITabBarController.</p>
  
  <p>What I'm trying to do is put a different navigation bar (or <code>UINavigationItem</code>) on each of the tabs in the UITabBarController.</p>
  
  <p>For example, I want the <code>UINavigationItem</code> I set, with its bar button items, to appear on MyViewController instead of a back button to the previous view controller, such as shown on the image below.</p>
  
  <p><a href="https://i.stack.imgur.com/E8HsN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E8HsN.png" alt="Back Button"></a></p>
  
  <p>The current layout on the Storyboard is as follows.</p>
  
  <p><a href="https://i.stack.imgur.com/dxSwt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dxSwt.png" alt="Storyboard"></a></p>
  
  <p>MyViewController on the sidebar:</p>
  
  <p><a href="https://i.stack.imgur.com/swlXY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/swlXY.png" alt="Breakdown of MyViewController"></a></p>
  
  <p><strong>What I've Tried</strong></p>
  
  <p>Someone suggested that I should embed each UIViewController (e.g. MyViewController) in a Navigation Controller. I've tried this and it doesn't work.</p>
  
  <p>I've also tried to set the Top Bar to "None" in the Attributes tab of the options menu.</p>
  
  <p><a href="https://i.stack.imgur.com/YkTts.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YkTts.png" alt="Attributes"></a></p>
  
  <p>Thank you in advance for your help.</p>