iPhone. CATransition fades but I want sliding
<pre><code>CATransition *animation = [CATransition animation];
  [animation setDuration:0.5];
  [animation setType:kCATransitionPush];
  [animation setSubtype:kCATransitionFromBottom];
  [animation setTimingFunction:[CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];

  [animation setDelegate:self];


  [[self layer] addAnimation:animation forKey:@"popUpAni"];
</code></pre>

<p>The above code (contained within an object of UIView class) fades the view in. I want it to slide in, not fade.</p>

<p>No matter what I try:</p>

<pre><code>        [animation setType:kCATransitionMoveIn];
  [animation setSubtype:kCATransitionFromTop];
</code></pre>

<p>The result remains the same. Am I doing something wrong?</p>
