title: Gray UISearchBar w/matching scope bar programmatically
body: <p>I'm trying to recreate this UISearchBar (as seen in the Table Search example code):</p>
  
  <p><a href="http://img168.imageshack.us/img168/6378/43558113.png">alt text http://img168.imageshack.us/img168/6378/43558113.png</a></p>
  
  <p>All the examples I've seen to do this involve using a xib, however I need to do it programmatically.  The problem is changing the tint color also changes the cancel button's tint: </p>
  
  <p><a href="http://img243.imageshack.us/img243/1375/screenshot20100527at944.png">alt text http://img243.imageshack.us/img243/1375/screenshot20100527at944.png</a></p>
  
  <p>Any ideas?</p>