CABasicAnimation* rotationAnimation;
rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"];
rotationAnimation.toValue = [NSNumber numberWithFloat: M_PI * 2.0 ];
rotationAnimation.duration = 1.0f;
rotationAnimation.cumulative = YES;
rotationAnimation.repeatCount = 100000;
[_finishIconImage.layer addAnimation:rotationAnimation forKey:@"rotationAnimation"];
2699

被折叠的 条评论
为什么被折叠?



