I am confusing about gesture handing on UIViews,
Say there are three views in the view hierarchy.
Like this image shows:
V1 (Grey)
|
+ V2 (Orange)
|
+ V3 (Red)
Each View has an attached tap gesture,
V1 has gesture1
V2 has gesture2
V3 has gesture3
V3 is too large and is out of bounds of V2.
And below image shows which gesture is responded.
My question is gesture on part of V3 out of bounds of V2:
Why g1 is responded instead of g3? And how to let g3 responses?
Note: I also set v3.userInteractionEnabled = true
, doesn't work