How to definitively set UITabBar background color and tint color
<p>I have been trying to set my <code>UITabBar</code>'s tint color and background color for quite some time now and nothing seems to work. 
So far I have tried:</p>

<pre><code>tabBarController?.tabBar.backgroundColor = UIColor.orangeColor()
tabBarController?.tabBar.barTintColor = UIColor.whiteColor()
</code></pre>

<p>as well as:</p>

<pre><code>UITabBar.appearance().tintColor = UIColor.orangeColor()
</code></pre>

<p>Neither of these seemed to have any effect on my tab bar. I'd also like to mention that I have the VC embedded in a navigation controller for which the global tint color that I set works perfectly fine.</p>