私は UIView
グローを前後に2回作ろうとしています。以下のアニメーションは機能しますが、終了した直後に、元の状態ではなく、アニメーション化した状態になります。オートリバースを YES に設定したのに、元の状態に戻らないのはなぜですか?
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationRepeatCount:2];
[UIView setAnimationRepeatAutoreverses:YES];
[UIView setAnimationDuration:0.3];
[UIView setAnimationBeginsFromCurrentState:YES];
textDetailView.layer.backgroundColor = [UIColor colorWithRed:0 green:1 blue:0 alpha:0.3].CGColor;
[UIView commitAnimations];