I created one view inside my application in that again i created ten views like a grid and i added UITapGestureRecogniser on ten views,if the user tap on one of the view in grid i will call a method where based on its tag value I will create a new view instance of a particular class.But i am getting problem if the user taps on two views at a time or in the difference of fraction of seconds ,then that method is called two times .It is creating problem inside my application.i need solution for this i am not getting any solution what to do.Can any one know this handle please help me as soon as possible.
Thanks &Regards swathi
I'd just create a boolean, thats set to NO in every method called by these views.
At the end of the method, set it to YES
Also, in your gestureRecognizer delegate method, I hope you are checking for recognizer state like this