title: UITextfield at UISearchbar appears different at simulator and on actual iPhone
body: <p>I managed to customize the look and feel of the UITextfield at UISearchBar using the code below:</p>
  
  <blockquote>
  <pre><code>for (UIView *subview in [searchBar subviews]) 
  {
          if ([subview isKindOfClass:NSClassFromString(@"UISearchBarTextField")]){
              [(UITextField *)subview setBackground:[UIImage imageNamed:@"background_searchField.png"]];
              [(UITextField *)subview setTextColor:[UIColor redColor]];
          }
  }
  </code></pre>
  </blockquote>
  
  <p>It appears exactly what I wanted when I use the simulator. However, when I tested it on an actual iPhone, the background image was not visible.</p>
  
  <p>Please advice. Many thanks.</p>