uiview hierarchy and manage uievent

234 views Asked by At

I have layout witch is shown in the figure below. It has 2 layers. First marked as C is transparent uiview with added pan gesture recognizer. It is used to syncing setting content offset of A and B view, which are on second layer. Layer means uiview which is directly add to uiviewcontroller's view.

The view A is uitableview with same option to select.

My problem is how to transfer tap event from C uiview to uitableviewcell of A uitableview. I tried many approach:

i.e using:

-(id)hitTest:(CGPoint)point withEvent:(UIEvent *)event

-(BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event

in UIView C, but the problem is that i have two layers.

enter image description here

0

There are 0 answers