title: Correct time to call viewDidAppear manually?
body: <p>I have a <code>UITableViewController</code> in my app, which is added to the view hierarchy directly. After the view appears, I want to scroll to a specific cell. My solution would be to call the code for scrolling in <code>-[viewDidAppear]</code>.</p>
  
  <p>According to Apple's docs I have to call the method manually:</p>
  
  <blockquote>
    <p>If the view belonging to a view controller is added to a view hierarchy directly, the view controller will not receive this message. If you insert or add a view to the view hierarchy, and it has a view controller, you should send the associated view controller this message directly.</p>
  </blockquote>
  
  <p>The question is: When is the right time to call it manually? </p>
  
  <p>Calling it from the parent view controller's <code>-[viewDidAppear]</code> leads to a crash when I try to do the scrolling because apparently, the table view actually <em>didn't</em> yet appear and therefore thinks it has no sections to scroll to.</p>