title: Change UINavigationItem colour
body: <p>I need to set custom colors to my UINavigationBar buttons.
  I'm doing the following thing(RGB func is a define):</p>
  
  <pre><code>- (void)viewWillAppear:(BOOL)animated
  {
  
  for (UIView *view in self.navigationController.navigationBar.subviews)      
      if ([[[view class] description] isEqualToString:@"UINavigationButton"])
          [(UINavigationButton *)view setTintColor:RGB(22.0,38.0,111.0)];
  
   }
  </code></pre>
  
  <p>Everything looks fine on app load. after leaving the view and getting back the color returns to default.</p>
  
  <p>Secondly I need to set the same colour to UISegmentedControl to a pressed button.</p>