title: Colour changed in iOS7.1, how to change searchBar colour?
body: <p>On iOS7.0.3 - 7.0.6, my searchBar colour is Gold/yellow colour like this:
  <img src="https://i.stack.imgur.com/jZ8tQ.png" alt="enter image description here"></p>
  
  <p>But on iOS 7.1, colour becomes like this:</p>
  
  <p><img src="https://i.stack.imgur.com/EE5YR.png" alt="enter image description here"></p>
  
  <p>I set </p>
  
  <pre><code>searchBar.tintColor = [UIColor clearColor];
  searchBar.backgroundColor = goldColor;
  searchBar.tintColor = [UIColor blackColor];
  </code></pre>
  
  <p>I've tried so many ways and all are failed. Can anyone figure out what changes in iOS 7.1?</p>
  
  <p>============== My fix ===============</p>
  
  <p>I fix this problem by covering a view on searchBar and add the search text filed as subview on this new view.</p>
  
  <p>I need point out that the gold status bar is a subView of searchBar, and it's frame is <code>CGRectMake(0, -20, 320, 20)</code> and it's background colour is gold.</p>
  
  <p>At first, I set this:</p>
  
  <pre><code>_searchBar.translucent = YES;
  _searchBar.scopeBarBackgroundImage = [self imageWithColor:UWGold];
  </code></pre>
  
  <p>and looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/cFq60.png" alt="enter image description here"></p>
  
  <p>Then, I expand the view cover the status bar, I changed the view's frame.size.height + searchBar's height, then use this line:</p>
  
  <pre><code>UITextField *textSearchField = [_searchBar valueForKey:@"_searchField"];
  </code></pre>
  
  <p>to get the textSearchField, then add this textSearchField to the cover view.</p>
  
  <p>At last, the searchBar is exactly like when on iOS 7.0</p>
  
  <p><img src="https://i.stack.imgur.com/bMMrm.png" alt="enter image description here"></p>
  
  <p>Not a good way, I need figure out what changes on iOS 7.1 and use a right way to implement this.</p>