title: Make UISearchBar first responder when View Loads
body: <p>I have a simple <code>UIViewController</code> and a <code>UISearchBar</code>, when the view loads I want to have the search bar become the first responder right away so that the keyboard is showing and they can start typing their query right away. I tried doing it in <code>viewWillAppear</code> like below without any luck:</p>
  
  <pre><code>- (void)viewWillAppear:(BOOL)animated
  {
      [productSearchBar becomeFirstResponder];
      [super viewWillAppear:animated];
  }
  </code></pre>
  
  <p>Is there another place that I should be calling <code>becomeFirstResponder</code> on the <code>UISearchBar</code> or should I be calling something else entirely?</p>