View Full Version : How to stop gesture recognize when UIView in animation?

Jan 20, 2011, 09:06 AM
I am using gesture to animate view, I don't want to my next gesture will be recognized when view in animation, what can I do?

By the way, I am using code as below for view animation.

[UIView beginAnimations:nil context:NULL];
[UIView commitAnimations];