摘要:
几乎所有关于动画的设置方法,在动画块外没有任何效果。使用beginAnimations:context: 类方法来开始一个动画块并用commitAnimations类方法结束1、areAnimationsEnabled返回一个布尔值表示是否允许动画效果 + (BOOL)areAnimationsEnabled2、beginAnimations:context:开始一个动画块 + (void)beginAnimations:(NSString *)animationID context:(void *)context一般调用方式:[UIViewbeginAnimations:@"ani 阅读全文