title: Background color for UITabBar and UINavigationBar
body: <p>I have created a ViewController embedded in a navigation controller which automatically creates a UINavigationBar. Then i've added a UITabBar to the bottom. How can i change the standard color of these.</p>
  
  <p>i've tried this, but does not change the color:</p>
  
  <pre><code>UIColor * color = [UIColor colorWithRed:248/255.0f green:243/255.0f blue:240/255.0f alpha:1.0f];
  UIColor * navColor = [UIColor colorWithRed:176/255.0f green:189/255.0f blue:197/255.0f alpha:1.0f];
  self.navigationController.navigationBar.tintColor = navColor;
  [[UITabBar appearance] setBackgroundColor:color];
  [self.navigationController.navigationBar setBackgroundColor:navColor];
  </code></pre>