I have a clear UIView to which gesture recognizers are attached.
This transparent uiview covers the entire superview, allowing you to call gestures from anywhere on it.
This comprehensible UIView uses various components, such as tables, buttons, collection, etc.
A clear UIView does not know what is under it at any time.
What I want is if the view under the clear uiview can handle the touch event (or any type of gesture) - the clear view should ignore this event - and the event will go to the main view that it can handle.
I tried
-(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
but I donβt know how to make sure that the basic view can handle this.
source
share