title: iPad's UISplitViewController did not rotate well when modalView is rotated
body: <p>I have rotation problem on <code>UISplitViewController</code>. In my case, after calling present modal on <code>splitViewController</code> (this splitViewController is the root view of window) to show another view. When that modalView is rotated, the splitView rotate incorrectly.</p>
  
  <p>The splitView appears like it rotated, but the <code>DetailViewController</code> stays like it appear on portrait, and the <code>RootViewController</code> did not show at all. It still behave like on portrait mode. It seems that the splitView is rotated, but not the underlying views (<code>DetailViewController</code> and <code>RootViewController</code>).</p>
  
  <p>I try to implement <code>willRotateToInterfaceOrientation</code> on the modalView, and call the splitView's <code>willRotateToInterfaceOrientation</code> method using delegate.</p>
  
  <p>This is what I implement in modalView:</p>
  
  <pre><code>- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
      [super willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
      MacProjectAppDelegate *delegate = [[UIApplication sharedApplication] delegate];
      [delegate.splitViewController willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
  }
  </code></pre>
  
  <p>The result is, the <code>DetailViewController</code> behave correctly, but not with <code>RootViewController</code>. It stay hidden. It will re-appear after the user manually rotate to portrait and back to landscape. But obviously user did not want that.</p>
  
  <p>This is what I did when presenting modalView:</p>
  
  <pre><code>ModalViewController *modalView = [[ModalViewController alloc] init];
  MacProjectAppDelegate *delegate = (MacProjectAppDelegate *)[[UIApplication sharedApplication] delegate];
  [delegate.splitViewController presentModalViewController:modalView animated:YES];
  [modalView release];
  </code></pre>
  
  <p>Is there a way to show the <code>RootViewController</code> in this case? Or is my doing things is wrong?</p>
  
  <p>Edit:
  It seems all views did not rotate following the modalView. neither the RootViewController nor DetailViewController did rotate (<code>the didRotateFromOrientation</code> on both ViewController did not called at all). So now I assume it didn't rotate following the device/modalView.</p>