/ Published in: Objective C

Use the UIViewAnimationOptionRepeat and UIViewAnimationOptionAutoreverse options.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
[UIView animateWithDuration:0.5 delay:0 options:(UIViewAnimationCurveLinear | UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat) animations:^{ [startButton setTransform:CGAffineTransformMakeScale(1.5, 1.5)]; startButton.alpha = 0.6; } completion:nil];
Comments
