title: ios7/8 transparent navigation bar
body: <p>I know this was answered, but I have some problem, I'm using this solution: <a href="https://stackoverflow.com/questions/2315862/make-uinavigationbar-transparent/18969823#18969823">link</a></p>
  
  <p>The only change is that I'm using this in my viewcontroller so replaced <code>self</code> with <code>navigationController!</code></p>
  
  <p>My problem: the navigation bar is black, not transparent. Am I missing something?</p>
  
  <p>I'm using swift with xcode6.1 and deployment target ios 7.1</p>
  
  <p>Thank you in advance!</p>
  
  <p>EDIT: (code as requested)</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
      //Transparent navigation bar
      navigationController!.navigationBar.translucent = true
      navigationController!.navigationBar.shadowImage = UIImage()
      navigationController!.navigationBar.setBackgroundImage(UIImage(), forBarMetrics: UIBarMetrics.Default)
      /////
      //other stuff
  }
  </code></pre>