title: SearchBar TintColor no applied correct
body: <p>I have a problem with the TintColor of my SearchBar. I use the same RGB Color in the navigation bar and on the searchbar. As you can see below, the colors are not the same.</p>
  
  <p><img src="https://i.stack.imgur.com/kTBmm.png" alt="enter image description here"></p>
  
  <p>This is the code I use to set the TintColor of the navigationbar: </p>
  
  <pre><code>    self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:34/255.0f green:113/255.0f blue:179/255.0f alpha:1];
  </code></pre>
  
  <p>and this is what I use to set the TintColor of the searchBar.</p>
  
  <pre><code>    self.mySearchBar.tintColor = [UIColor colorWithRed:34/255.0f green:113/255.0f blue:179/255.0f alpha:1];
  </code></pre>
  
  <p>So, as you can see, those two lines are pretty much the same. Any ideas on how to get the same color?</p>
  
  <p>Any advice as very appreciated!</p>
  
  <p><strong>Edit</strong>:
  I develop for iOS 4.0 with XCode 4.3.3 and i tested on a device with iOS 5</p>