何らかの理由で、アニメーション中にUIButtonがUIControlEventsに応答しません。これが私がアニメートする方法です:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:[duration intValue]];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
// change parent UIView's frame
[UIView commitAnimations];
それが終わりに達すると、それをタップさせてくれます...しかし、それがアニメートしている間はそうではありません。ちなみに、私はUIControlEventTouchUpInsideを使用しています。
ありがとう。