水族館のiPhoneアプリを開発しています。その中で、波及効果コードを次のように使用しました。
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:0.6];
[animation setTimingFunction: [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]];
animation.type = @"rippleEffect";
animation.subtype = kCATransitionFromLeft;
animation.fillMode = kCAFillModeBackwards;
animation.startProgress = 0.4;
[animation setRemovedOnCompletion:NO];
[self.view.layer addAnimation:animation forKey:@"rippleEffect"];
[self performSelector:@selector(fn_btnOperation) withObject:nil afterDelay:0.40];
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.70];
うまく機能していますが、問題はこのアニメーションを呼び出した後です。アプリのテーブルビュー、テキストビュー、スクロールビューが正しく機能していません。スクロールが遅くなり、スムーズではありません。誰でもこの問題を解決できますか?