- [UIView beginAnimations:nil context:nil]; - 准备开始动画- [UIView setAnimationDuration:5]; - 设置时间- [UIView commitAnimations]; - 提交动画(真正开始做动画)