title: IOS CABasicAnimation save view to latest position when animation ends
body: <p>How to save latest position of animated view? </p>
  
  <p>here is my code, generally my aim is to rotate view about 60 degree in z axis. </p>
  
  <pre><code>    CABasicAnimation rotationAnimation = new CABasicAnimation ();
      rotationAnimation.KeyPath = "transform.rotation.y";
      rotationAnimation.From = new NSNumber (0);
      rotationAnimation.To = new NSNumber (0.7);
      rotationAnimation.Duration = 5;
      rotationAnimation.AutoReverses = false; 
      rotationAnimation.FillMode = "kCAFillModeForwards";
      rotationAnimation.RemovedOnCompletion = false;  
      this.contentViewContainer.Layer.AddAnimation (rotationAnimation, "rotationAnimation");
  
      this.contentViewContainer.Layer.ContentsGravity = CALayer.GravityResizeAspectFill;
      CATransform3D transform = CATransform3D.Identity;
      nfloat d = (nfloat)(1.0 / 500.0);
      transform.m34 = d;
      this.contentViewContainer.Layer.Transform = transform;
  </code></pre>
  
  <p>here is how it looks
  <img src="https://i.stack.imgur.com/tX9lt.gif" alt="enter image description here"> </p>