title: iOS - how to forward touches to the underlying uiview
body: <p>I have 3 UIViews of the same size stacked on top of each other. The topmost is transparent and only used for detecting touches. The type of touch detected will determine which of the other two underlying views I want to receive the touch events. Once the topmost view is finished with the touch, I need to forward the touch events to the correct underlying view. How can I do that?</p>
  
  <p>EDIT - I am adding my touch detection code. This is within MainViewController, whose view contains all 3 subviews.</p>
  
  <pre><code>-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
  {
  
      for (UITouch *touch in touches)
      {
          if (touch.view == self.touchOverlay) {
              CGPoint touchLocation = [touch locationInView:touch.view];
  
              //do a bunch of math to determine which view should get the touches.
              if (viewAshouldGetTouches) //forward to viewA
              if (viewBshouldGetTouches) //forward to viewB
  
  
          }
      }
  }
  </code></pre>