私の状況:のカテゴリとして宣言されているUIButton
アニメーションであることがわかりました:CAKeyframeAnimation
UIView
CAKeyframeAnimation * scale = [CAKeyframeAnimation animationWithKeyPath:@"transform.scale"];
scale.duration = duration;
scale.beginTime = delay;
scale.fillMode = kCAFillModeForwards;
NSMutableArray * times = [[NSMutableArray alloc] init];
scale.values = values;
scale.timingFunctions = times;
CAAnimationGroup * group = [CAAnimationGroup animation];
[group setDelegate:self];
[group setDuration:duration + delay];
[group setFillMode:kCAFillModeForwards];
[group setRemovedOnCompletion:NO];
[group setAnimations:[NSArray arrayWithObject:scale]];
[self.layer addAnimation:group forKey:@"scale"];
問題は、アニメーションの後、ボタンがタッチされないことです。アニメーションを削除すると、すべて正常に動作します。誰かが私が間違っていることを知っていますか?
ありがとう