title: How to change cancel button tint color of UISearchBar in iOS7
body: <p>I want to change tint color of Textfield to blue color and cancel button tint color of UISearchBar to white color.</p>
  
  <p>I am using below code.</p>
  
  <pre><code>for (UIView *subView in searchBar.subviews)
  {
      for (UIView *ndLeveSubView in subView.subviews)
      {
          if([ndLeveSubView isKindOfClass:[UITextField class]])
          {
              [(UITextField *)subView setTintColor:[UIColor blueColor]];
          }
          else if ([ndLeveSubView isKindOfClass:[UIButton class]])
          {
              [(UIButton *)subView setTintColor:[UIColor whiteColor]];
          }
      }
  }
  </code></pre>
  
  <p>But this changes both Textfield and cancel button's tint color to white. Can any one suggest another method for it?</p>
  
  <p>Here's what I am getting...</p>
  
  <p><img src="https://i.stack.imgur.com/BGtR1.png" alt="enter image description here"></p>
  
  <p>The tint color of TextField is also White..... </p>