title: Set a title programmatically
body: <p>Here is my storyboard. My TabBarController references to the NavigationController (which has a own class) in the second picture.</p>
  
  <p>I am not able to set a title via code. I tried every piece of code inside my <strong>MapsViewController</strong> &amp; <strong>MapsNavigationViewController</strong> I found on Google &amp; co.</p>
  
  <p>viewController.title = "some title" &lt;- not working</p>
  
  <p>self.title = "some title" &lt;- not working</p>
  
  <p>navigationBar.topItem.title = "some title" &lt;- not working</p>
  
  <p>self.navigationItem.title = "Your Title" &lt;- not working</p>
  
  <p>self.parent?.title = "some title" &lt;- not working</p>
  
  <p>navigationItem.title = "What ever you want" &lt;- not working</p>
  
  <p>How can I set a title to my Navigation programmatically...?</p>
  
  <p>1) <a href="https://i.stack.imgur.com/oWjCg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oWjCg.png" alt="enter image description here"></a></p>
  
  <p>2) <a href="https://i.stack.imgur.com/osFuh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/osFuh.png" alt="enter image description here"></a></p>
  
  <p>3) <a href="https://i.stack.imgur.com/3JQFH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3JQFH.png" alt="enter image description here"></a></p>
  
  <p>Edit: View Hierachy:</p>
  
  <p><a href="https://i.stack.imgur.com/P2rJN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P2rJN.png" alt="enter image description here"></a></p>