title: animation speed is different between beginAnimations and using animations block
body: <p>I am trying to convert some animation code that uses beginAnimations to use animation blocks.  The problem that I am having is that when I use the animations blocks the animations goes much faster and  I cannot seem to adjust the speed by changing the duration value</p>
  
  <p>This is what I started with originally:</p>
  
  <pre><code>birdFly.image = [UIImage imageNamed: @"bird1.png"];
  [self.view addSubview:birdFly];
  [UIView beginAnimations:nil context:NULL];
  [UIView setAnimationDuration:20];
  birdFly.frame = CGRectMake(-1116,27,111,48);
  [UIView commitAnimations];
  [birdFly release];
  </code></pre>
  
  <p>This is what I tried first to replace what I had above.  Using this code the animation is much faster than what it was using the original code.  Even changing the duration does not seem to change the speed at all:</p>
  
  <pre><code>birdFly.image = [UIImage imageNamed: @"bird1.png"];
  [self.view addSubview:birdFly];
  [UIView animateWithDuration:20
      animations:^{
          birdFly.frame = CGRectMake(-1116,27,111,48);
      }];
  </code></pre>
  
  <p>I also tried this, thinking I needed a completion block, but the speed was still just as fast compared with what I had originally when I wasn't using blocks.</p>
  
  <pre><code>birdFly.image = [UIImage imageNamed: @"bird1.png"];
  [self.view addSubview:birdFly];     
  UIViewAnimationOptions options = UIViewAnimationOptionCurveEaseInOut | UIViewAnimationOptionAllowUserInteraction;
          [UIView animateWithDuration:20 delay:0.0 options:options animations:^
          {
              birdFly.frame = CGRectMake(-1116,27,111,48);
          } completion:nil];
  </code></pre>
  
  <p>Is the code all doing the same thing?  Am I just missing something very simple here?  I thought increasing the duration would make the bird go slower and decreasing it would make it go faster, but it doesn't seem to have any impact t all when change it using blocks.</p>
  
  <p>Any guidance would be appreciated.</p>
  
  <p>Thanks.</p>
  
  <p>Aaron</p>