I'm having trouble accepting two gestures simultaneously across my sibling views. The view structure is as follows.
Superview
|
|--> ChildView1 (UITableView)
|
|--> ChildView2 (UIView).. Partially overlaps ChildView1
When I do a pan gesture on ChildView2
, I would like that to pass through to ChildView1
so that the UITableView
scrolls properly.
However, when I do a LongPress gesture on ChildView2
, I would like that to be properly recognized within ChildView2
.
The closest question (and answer) I've seen is this. However, unlike that question, where ChildView1
has to handle the passed gesture, I would like the UITableView
to handle the gesture and scroll as if it was scrolled directly on the view. Is that possible?
Thanks for any insights.