I have a really weird issue, and it might be hard to explain, but I appreciate any help or suggestions on it.
I have a base view (View B) that has a UIGestureRecognizer that detects left and right gestures.
On top of View B, I have several small views (View C) that are covering the entire view. (Think of it as a calendar).
On each View C I have a tap gesture recognizer, and a long press gesture recognizer. On the tap gesture I display a UIAlertView.
So here's the problem:
I can tap View C and then swipe View B, and the View B swipe event fires before the UIAlertView displays. This crashes my app, because when View B is removed with the swipe event and since View C is on top of View B they are removed as well, and the alertView:clickedButtonAtIndex: is not reached at all.
Does anyone have any ideas on how to prevent the swipe from happening before the UIAlertView displays? Thanks for the help!