I have a UIView
containing a UIScrollView
.
This UIView
is supposed to respond to some touch events but it is not responding because of the scrollView it contains.
This scrollView's contentView
is set to a MoviePlayer inside the OuterView.
Now whenever I click in the area where the MoviePlayer is, touch events of my OuterView are not responding.
I have even set the movie player's userInteraction
to NO
.
but now scrollView is interfering it seems.
I have referred to this post on SO itself.
How can a superview interecept a touch sequence before any of its subviews?
But the solution there, asks me to set the userInteractionEnabled
to NO
for the scrollView
But if I do so, my pinch zoom doesn't take place either!
What to do?