title: UIView Animation starts with wrong property values
body: <p>Hi there I'm having some problems coding an animation for a UIView in my iPhone app. I'm trying to set an animation for the frame of the UIView after i updated the frame property. Here is the code.</p>
  
  <pre><code>//old frame values are: 0, 0, 15, 37
  
  //set the frame for hiding the arrow
  [arrow setFrame:CGRectMake(-15, 100, 15, 37)];
  
  //Create an animation to let the arrow slide in the view.
  [UIView beginAnimations:@"SlideInArrow" context:nil];
  [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
  [UIView setAnimationBeginsFromCurrentState:true];
  [UIView setAnimationDuration:1.0];
  [symbolArrow setFrame:CGRectMake(0, 100, 18, 37)];
  [UIView commitAnimations];
  </code></pre>
  
  <p>this code is a part of a method i wrote. It will be fired when the user is pressing a button. i suggest, that the UI won't update the new frame values to the object. Instead the animation uses the old values. Why is it so? Is there a way to get the view or the animation to get the new frame values?</p>