ウィグル アニメーションを 10 個以上の要素に適用したいのですが、6 ~ 9 個の要素でうまく機能しています。要素が 10 個以上になるとウィグルは正常に適用されますが、アニメーション アプリでホーム ボタンを押しても反応しません。
私のコードは次のとおりです。
while(subviews)
{
[UIView beginAnimations:@"wiggle" context:nil];
[UIView setAnimationDuration:0.1];
[UIView setAnimationRepeatAutoreverses:YES];
[UIView setAnimationRepeatCount:FLT_MAX];
//wiggle 1 degree both sides
touchView.transform = CGAffineTransformMakeRotation(0.0174532925);
touchView.transform = CGAffineTransformMakeRotation(-0.0174532925);
[UIView commitAnimations];
}