title: UIView animations on a path not linear
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path">How can I animate the movement of a view or image along a curved path?</a>  </p>
  </blockquote>
  
  
  
  <p>I have an iOS application that I want to animate a falling leaf (or several). I have my leaf image in an <code>ImageView</code> and I've figured out a simple animation from the documentation:</p>
  
  <pre><code>[UIView animateWithDuration:4.0f
                            delay:0
                            options:UIViewAnimationTransitionFlipFromLeft
                            animations:^(void)
                            {
                                leaf1ImageView.frame = CGRectMake(320, 480, leaf1ImageView.frame.size.width,leaf1ImageView.frame.size.height);
                            }
                            completion:NULL];
  </code></pre>
  
  <p>This will make the leaf go from its starting position to the bottom right corner in a straight line. How would I animate this to follow a path or curve like a parabola or sinusoid and maybe even rotate the image or view? Would this be done in the animations block? Thanks in advance! </p>