CABasicAnimation *basic=[CABasicAnimation animationWithKeyPath:@"transform"];
[basic setToValue:[NSValue valueWithCATransform3D:CATransform3DMakeScale (1.25, 1.25, 1.25)]];
[basic setAutoreverses:YES];
[basic setRepeatCount:MAXFLOAT];
[basic setDuration:0.25];
[self.imgVArrow.layer addAnimation:basic forKey:@"transform"];
No comments:
Post a Comment