title: Set title of navigation bar
body: <p>So I have a basic view controller with a navigation bar, this is view controller B, so I'm performing a segue to go here, and I'm trying to change the title like this:</p>
  
  <pre><code>override func viewDidLoad() {
      debugPrint(self.selectedName)
      super.viewDidLoad();
      self.navigationItem.title = "A NEW TITLE"
  }
  </code></pre>
  
  <p>But it doesn't do anything</p>
  
  <p><a href="https://i.stack.imgur.com/sJNCv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/sJNCv.png" alt="enter image description here"></a></p>