title: How to apply animation to two layers simultaneously using Monotouch
body: <p>I'm trying to animate two images moving across the screen using Monotouch. I've been looking into CATransaction and Animation group, but MonoTouch examples are few and fair between, and both these objects seem to apply to only one layer.</p>
  
  <p>Would someone be able to point in the right direction on what sort of object to use to animate both images at the same time?</p>
  
  <p>Thanks</p>
  
  <pre class="lang-cs prettyprint-override"><code>        MovePos(img);
          MovePos(img2);
  
          public void MovePos (UIView view)
          {
              var theAnimation = CABasicAnimation.FromKeyPath ("position");
              theAnimation.Duration = 2;
              theAnimation.From = NSValue.FromPointF (new PointF (74, 74));
              theAnimation.To = NSValue.FromPointF (new PointF (566, 406));
              theAnimation.TimingFunction = new CAMediaTimingFunction (0.25f ,0.1f ,0.25f ,1.0f);
  
              view.Layer.AddAnimation (theAnimation, "animateLabel"); 
          }
  </code></pre>