title: why does viewDidAppear not get triggered?
body: <p>i have a root view controller that inserts a subview at index 0 at its viewDidLoad method.</p>
  
  <p>i am trying to get the subview to become firstResponder, but can only do this - from my understanding - in the subview's viewDidAppear method.</p>
  
  <p>here's the line of code i added to the root view controller's viewDidLoad method:</p>
  
  <pre><code>        [self.view insertSubview: subViewController.view atIndex: 0];
  </code></pre>
  
  <p>the subviewcontroller has a xib, subViewController.xib, that is shown correctly at runtime. nevertheless, the subViewController's viewDidAppear does not get triggered.</p>
  
  <p>any idea why this happens? any idea how to remedy this - apart from calling viewDidAppear manually (doing so results in failure to become firstResponder)?</p>
  
  <p>thanks,</p>
  
  <p>mbotta</p>