title: IOS Transition between child viewControllers on same screen
body: <p>I am trying to get the new IOS 5 Container viewControllers working properly but I am having an issue animating between them.</p>
  
  <p>I have a "rootViewController". In this controller, I have added 2 child view controllers. This functions almost like a splitViewController. On the left I have a VC that handles navigation, and on the right I have a VC that shows specific content.</p>
  
  <p>I am trying to animate between the VC on the right, and a new VC which will replace it. </p>
  
  <p>This is my code for the animation:</p>
  
  <pre><code>public void Animate(UIViewController toController) {
      AddChildViewController(toController);
      activeRightController.WillMoveToParentViewController(null);
      toController.View.Frame = activeRightController.View.Frame;
      Transition(activeRightController, toController, 1.0, UIViewAnimationOptions.TransitionCurlUp, () =&gt; {},
          (finished) =&gt; {
          activeRightController.RemoveFromParentViewController();
          toController.DidMoveToParentViewController(this);
          activeRightController = toController;
      });
      activeRightController = toController;
  }
  </code></pre>
  
  <p>Almost everything works, it transitions to my new view using the CurlUp transition, however the transition itself goes across the WHOLE screen...not just the single view that I want to transition. Its "curling Up" the parent view, and not the child. It does however replace only the child view underneath it. I hope this makes sense.</p>