Change the color of iOS Navigation Bar
<p>I'm trying to change the color of my navigator bar but I found that it's only impossible if the navigator is the root one.</p>

<p>I'm trying this:</p>

<pre><code>self.navigationController?.navigationBar.translucent = true

self.navigationController!.navigationBar.barTintColor = UIColor.blueColor()
</code></pre>

<p>All my <code>Viewcontrollers</code> are related to navigator controllers. However nothing is changed. In fact I tried to make the same things from storyboard but it works only if I'm in the first navigator.</p>

<p>I tried to read everything related to this problem but found nothing</p>

<p>I could add any item to the navigator bar like this</p>

<pre><code>let HomeImage = UIImage(named: "home")!
    let Home : UIBarButtonItem = UIBarButtonItem(image: HomeImage,  style: .Plain, target: self, action: "home:")
    navigationItem.rightBarButtonItem = Home
</code></pre>