title: swift ios cant change navigation bar title
body: <p>I have a modal VC and I have dragged in a navigation bar using storyboard:</p>
  
  <p><a href="https://i.stack.imgur.com/NbZ22.png" rel="noreferrer"><img src="https://i.stack.imgur.com/NbZ22.png" alt="enter image description here"></a></p>
  
  <p>But now I can only change the title in storyboard and not in code. I need to be able to change it in code since the title will be dynamic.</p>
  
  <p>I have tried both of these:</p>
  
  <pre><code>self.title = "some title"
  
  navigationBar.topItem.title = "some title"
  </code></pre>
  
  <p>But none of them work and I dont get any warning/error either</p>