title: CATransaction animation fade in fade out uiviews
body: <p>I have two views, jumpBarPortrait and jumpBarLandscape I would like to animate between the two so in other words I would like Portrait to fade in while landscape fades out... So far I am able to fade one in but I am not sure how to have the other fade out...</p>
  
  <p>This is my code as it stands currently..</p>
  
  <pre><code>[CATransaction begin];
  CATransition *animation = [CATransition animation];
  animation.type = kCATransitionFade;
  animation.duration = animationSpeed;
  
  [self.view insertSubview:jumpBarContainerPortrait belowSubview:actionTabBar];
  
  [[jumpBarContainerPortrait layer] addAnimation:animation forKey:@"Fade"];
  [CATransaction commit];
  </code></pre>
  
  <p>any help would be greatly appreciated.</p>