title: Why is the UINavigationBar turning black?
body: <p><strong>Problem:</strong></p>
  
  <p>I have a <code>UITableViewController</code> embedded in a <code>UINavigationController</code>. Pressing a cell in the table view switches to another table view controller. In said table view controller, I'd like for the navigation bar to be invisible while still keeping the tab bar items so I added the following to its <code>viewDidLoad()</code>:</p>
  
  <pre><code>self.navigationController?.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: .default)
  self.navigationController?.navigationBar.shadowImage = UIImage()
  self.navigationController?.navigationBar.isTranslucent = true
  self.navigationController?.navigationBar.tintColor = .black 
  </code></pre>
  
  <p>For the first UITableViewController, I'd like the navigation bar to be normal so in its <code>viewDidAppear()</code> I did the following:</p>
  
  <pre><code>self.navigationController?.navigationBar.isTranslucent = false
  </code></pre>
  
  <p>Everything is working fine except during the transition (which I am doing via <code>performSegueWithIdentifier</code>) the navigation bar on the first view controller disappears into blackness which looks ugly to be honest. Is there any way to prevent/fix this?</p>
  
  <p><strong>Screenshot:</strong>
  <img src="https://i.stack.imgur.com/HYBE1.png" alt="enter image description here"></p>