简而言之,你做的事情就像:
[UIView beginAnimations:nil context:NULL]; // animate the following: myLabel.frame = newRect; // move to new location [UIView setAnimationDuration:0.3]; [UIView commitAnimations];