title: Select row After UIPickerView is loaded
body: <p>I have an iPhone database app that loads a <code>UIPickerView</code> with data from a table.  I want to set the selected row to a particular row from the data in another table.</p>
  
  <p>For example: Let's say I have a <code>UIPickerView</code> that is loaded with X number of names of the iPhone users' friends (the number of names is variable; it could be 1 or 1000 and all are entered into the database by the user). The iPhone user has a preference set that their current best friend is <em>TED</em>. I want the <code>UIPickerView</code> to be position to <em>TED</em> when displayed.</p>
  
  <p>Where do I call <code>selectRow</code>?</p>
  
  <p>I tried in <code>viewDidAppear</code>, but it was never called, in <code>titleForRow</code> which caused all kinds of strange behavior. <code>viewDidLoad</code> and <code>viewWillAppear</code> are out of the question, because I don't know what's in the datasource to the picker yet.</p>