title: iOS: How to forward touch events from subview to superview?
body: <p>I have the following setup in my iPhone project (a UIButton that has a UIView as sub-view):</p>
  
  <pre><code>- UIButton       // super-view   &lt;-------|
    |                                &lt;touch-event&gt;
    |_ UIView      // sub-view     ________|
  </code></pre>
  
  <p>I have connected an action (touch-up-inside) from my UIButton with IB to my view controller. But unfortunately the UIView prevents the OS to call the action method of my UIButton, since the UIView subview does not respond to touches and thus not forward to its super-view.</p>
  
  <p>How can I forward the action event from UIView to the super-view UIButton ? So that the UIButton "thinks" that it has been touched although the sub-view was touched.</p>
  
  <p>I already found these links, but they didn't help me:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/17572829/how-to-send-touch-events-to-superview-in-ios">How to send touch events to superview in iOS?</a></li>
  <li><a href="https://stackoverflow.com/questions/23497457/how-to-pass-the-touch-event-to-superview-when-userinteractionenabled-yes">How to pass the touch event to superview ?</a> </li>
  </ul>
  
  <p>Some code sample in Objective-C would be great!</p>