title: Swift - How to hide back button in navigation item?
body: <p>Right now I have two view controllers. My problem is I don't know how to hide the back button after transitioning to the second view controller. Most references that I found are in Objective-C. How do I code it in Swift?</p>
  <p>Hide back button code in Objective-C</p>
  <pre><code>[self.navigationItem setHidesBackButton:YES animated:YES];
  </code></pre>