3
다음 코드를 사용하여 문자열 롤링을 수행하지만 애니메이션을 중지하는 방법은 무엇입니까? 헤더에서beginAnimations 사용 후 애니메이션을 멈추는 방법은 무엇입니까?
[UIView beginAnimations:@"ruucc" context:NULL];
[UIView setAnimationDuration:12.8f];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView setAnimationDelegate:self];
[UIView setAnimationRepeatAutoreverses:NO];
[UIView setAnimationRepeatCount:999999];
frame = label1.frame;
frame.origin.x = -12;
label1.frame = frame;
[UIView commitAnimations];
참조 http://stackoverflow.com/questions/554997/cancel-a-uiview-animation –