[UIView setAnimationDelegate:self];//设置代理//动画块的某个方法(最下方),委托到本类的实例
[UIView setAnimationDidStopSelector:@selector(resetView)];//动画结束后去执行的方法
[UIView setAnimationRepeatCount:99999999];//设置动画的次数
CGAffineTransform 放射变换的方式
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];//设者动画的方式
+ (void)setAnimationDelay:(NSTimeInterval)delay; //default = 0.0延迟多少时间开始执行动画
+ (void)setAnimationStartDate:(NSDate *)startDate; //default = now ([NSDate date])动画开始日期
+ (void)setAnimationRepeatAutoreverses:(BOOL)repeatAutoreverses; //default = NO. YES的话,动画(非最后一次)结束后动态复原到最开始状态
+ (void)setAnimationBeginsFromCurrentState:(BOOL)fromCurrentState; //default = NO. YES,停止之前的动画,从现在这里开始新动画the current view position is always used for new animations -- allowing animations to "pile up" on each other. Otherwise, the last end state is used for the animation (the default).
+ (void)setAnimationTransition:(UIViewAnimationTransition)transition forView:(UIView *)view cache:(BOOL)cache; //添加动画到view上,cache是YES的时候比较高效,但是动画过程中不能更新界面上的内容,NO时每一帧都重新画,可以实时更新
+ (void)setAnimationsEnabled:(BOOL)enabled; //是否忽略一些动画设置