how to stop animation after using beginAnimations?
- by www.ruu.cc
i use the following code to do a string rolling, but how to stop the animation?
[UIView beginAnimations:@"ruucc" context:NULL];
[UIView setAnimationDuration:12.8f];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView setAnimationDelegate:self];
[UIView setAnimationRepeatAutoreverses:NO];
[UIView setAnimationRepeatCount:999999]; …