小记录一下,动画无效的时候,可能是因为 layer 错了,应该是 他父view; 例如:[self.intro.superview.layer addAnimation:animation forKey:@"animation"];