iPhone - UIView inside UIScroller... view not passing touches to parent
<p>I have a UIView (lets call it myView), inside a UIScroller.</p>

<p>myView has elements that can be dragged on it.</p>

<p>When one of these elements are touched, the scroller is locked, to prevent the whole thing from scrolling. The elements have exclusiveTouch = YES. I need the whole thing to scroll when just myView is touched.</p>

<p>I had this working with touchesBegan, touchesMoved, etc., but I am converting this class to gestures. The new class has two gestures attached to it: UIPanGestureRecognizer and UITapGestureRecognizer. Something like:</p>

<pre><code> UIPanGestureRecognizer *panGesture = [[UIPanGestureRecognizer alloc] 
           initWithTarget:self action:@selector(drag:)];
 [panGesture setMaximumNumberOfTouches:1];
 [panGesture setDelegate:self];
 [myView addGestureRecognizer:panGesture];
 [panGesture release];


 UITapGestureRecognizer *singleTap =  [[UITapGestureRecognizer alloc] 
                initWithTarget:self 
                action:@selector(tapAdd:)];
 [singleTap setDelegate:self];
 [singleTap setNumberOfTapsRequired:1];
 [myView addGestureRecognizer:singleTap];
 [singleTap release];
</code></pre>

<p>When this class used the old methods (touchesBegan, etc.), I simply forwarded the touches using something like</p>

<pre><code>[self.nextResponder touchesBegan: touches withEvent:event]; 
</code></pre>

<p>but how do I do that using gestures? I mean, the UIPanGestureRecognizer will, in my case, run a method called drag: and this method receives a gesture... how do I forward the touch to its scroller parent, so the whole thing scrolls? </p>

<p>thanks</p>
