title: Iphone 3d Animation
body: <p>I recently posted my problem but neither did I get an answer here or elsewhere, nor can I find my post again...
  Anyway, I want to try to state my point clearer, hoping you can help me this time maybe.</p>
  
  <p>The part of code, this is about, looks like this:</p>
  
  <pre><code>CABasicAnimation *animation = nil; 
  CATransform3D transform;
  
  animation = [CABasicAnimation animationWithKeyPath:@"transform"];
  
  transform = CATransform3DMakeRotation(1.57f, 0.0f, 1.0f, 0.0f); 
  value = [NSValue valueWithCATransform3D:transform]; 
  [animation setToValue:value];
  [animation setAutoreverses:YES]; 
  [animation setDuration:0.5f];
  [[shieldView layer] addAnimation:animation forKey:@"180"];
  </code></pre>
  
  <p>What happens, is that I have a UIImageView with an image in it. I take this View and rotate it around the z-Axis for half a turn (1.57 measured in arc).</p>
  
  <p>Now there is another View overlapping with the one being transformed in 3d. This leads to my problem: As soon as the transformation is executed, the transformed layer is sort of clipped against the overlapping view, but wrong, so that u see a 'flickering' effect to both Views. </p>
  
  <p>Now I don't know, why this happens. I would expect the view to be animated appropriately, without this 'bug', and the Views to be just displayed correctly.... since I do not do anything special. </p>
  
  <p>I have tried to overlay 2D transformations, using the 'beginAnimations' and 'commitAnimations' context, which works fine. This means, the problem is sort of hidden in the 3D rotation of my View.</p>
  
  <p>You guys have any clues on this? I hope I explained that well enough.</p>