title: After rotating a CALayer using CABasicAnimation the layer jumps back to it's unrotated position
body: <p>I am trying to create a falling coin. The coin image is a CALayer with 2 CABasicAnimations on it - a falling down and a rotation one. When the falling down animation gets to its end, it stays there. The rotation animation though, which is supposed to be random and end up in a different angle every time, just pops back to the original CALAyer image.</p>
  
  <p>I want it to stay in the angle it finished the animation on. Is it possible? How do I do it?</p>
  
  <p>Code:</p>
  
  <pre><code>//Moving down animation:
  CABasicAnimation *anim = [CABasicAnimation animationWithKeyPath:@"transform.translation.y"];
  anim.duration = 1;
  anim.autoreverses = NO;
  anim.removedOnCompletion = YES;
  
  anim.fromValue = [NSNumber numberWithInt: -80 - row_height * (8 - _col)];
  anim.toValue = [NSNumber numberWithInt: 0];
  
  //Rotation Animation:
  CABasicAnimation *rota = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
  rota.duration = 4;
  rota.autoreverses = NO;
  rota.removedOnCompletion = NO;
  rota.fromValue = [NSNumber numberWithFloat: 0];
  rota.toValue = [NSNumber numberWithFloat: 2.5 * 3.15 ];
  [cl addAnimation: rota forKey: @"rotation"];
  [cl addAnimation: anim forKey: @"animateFalling"];
  </code></pre>