I come to a problem... Here's it:
I add a UIGestureRecognizer to self.view (self is a UIViewController) and handle the tap event.
But I have another UIView which is a subview of self.view, and it has a reaction of "tap" gesture (touchesBegan and touchesEnded).
Problem arises : When I tap on it, because self.view intercept the gesture, the UIView can't get the event. So is there a way to emulate a "tap", or to let go naturally in the action function?
---add---
Forwarding UIGesture to views behind is a similar question, but in that case, it can pass a UIGestureRecognizer to subview.
in this case, I need to handle when the touch begins and when it ends, so it can't handle with a UIGestureRecognizer.
Or if I can adapt the functions with UIGestureRecognizer?