Return to Snippet

Revision: 43969
at April 4, 2011 18:02 by BenClayton


Initial Code
[UIView animateWithDuration:0.5 delay:0 options:(UIViewAnimationCurveLinear | UIViewAnimationOptionAutoreverse | UIViewAnimationOptionRepeat) animations:^{
        
        [startButton setTransform:CGAffineTransformMakeScale(1.5, 1.5)];
        startButton.alpha = 0.6;
        
    }  completion:nil];

Initial URL


Initial Description
Use the UIViewAnimationOptionRepeat and UIViewAnimationOptionAutoreverse options.

Initial Title
iOS / iPhone: Continuously looping block-based UIView animation

Initial Tags


Initial Language
Objective C