title: iphone - the order of the touch (tap) event
body: <p>I have a UIView and a UIWebView. </p>
  
  <p>The UIWebView is a child view of the UIView.</p>
  
  <p>The UIWebView contains a youtube video and is set as to let the video fit to the UIWebView.</p>
  
  <p>I have a UITapGesture associated with the parent UIView for single tap, say, if a user single tap the whole view, it will invoke A.</p>
  
  <p>So, when the UIWebView loads the youtube video, there is a button on top of the video waiting for users to click to play. But now if I click the button, the youtube is played, but also the A is invoked too. This is what I don't want.</p>
  
  <p>How should I solve it?</p>
  
  <p>I thought the touch/tap event should be in a order and if the button is clicked, it should absorb the event and not give the UIView any more.</p>
  
  <p>I also tried to add another UIView under the UIWebView, and attach that gesture to the underlying view. However, it still doesn't work.</p>
  
  <p>How can I do to let the button over the youtube video independent?</p>
  
  <p>thanks</p>