title: self.navigationItem.rightBarButtonItem = Button not working?
body: <p>I have a bit of code bellow which creates an bar button item to then add to the navigation bar on the right side like many apps do.</p>
  <p>The problem I am having is that the button/image do not show up at all.</p>
  <p><strong>How can I fix this?</strong></p>
  <p><em>FYI</em>: This code runs as a setup() func after all other code runs in the <strong>view did load</strong>.</p>
  <pre><code>        let image = UIImage(systemName: &quot;paperplane&quot;)?.withTintColor(.black, renderingMode: .alwaysOriginal)
          
          let button = UIBarButtonItem(image: image,
                                       style: .plain,
                                       target: self,
                                       action: #selector(showDMController))
          
          self.navigationItem.rightBarButtonItem = button
  </code></pre>