title: iphone Animation: why does rotating a UILabel around X axis cut off its bottom half?
body: <p>I want to rotate a UILabel around the X axis, and animating it. But when the animation starts, the text of the label is cut in two, horizontally. The bottom half disappears, the upper half is rotating. Why?</p>
  
  <p>Here's the code:</p>
  
  <pre><code>CATransform3D _3Dt = CATransform3DMakeRotation(radians(90.0f), 1.0, 0.0, 0.0);
  
  CABasicAnimation *transformAnimation = [CABasicAnimation animationWithKeyPath:@"transform"];
  
  transformAnimation.removedOnCompletion = NO;
  
  transformAnimation.toValue = [NSValue valueWithCATransform3D:_3Dt];
  
  transformAnimation.fillMode = kCAFillModeForwards;
  </code></pre>
  
  <p>(sdk 3.0)</p>