title: How to check if tap happened in a specific place
body: <p>I am trying to check if a tap is happening in a specific region on the screen. I've set up a TapGestureRecognizer this is the code I have right now:</p>
  
  <pre><code>func handleTap(tap: UITapGestureRecognizer) {
      var point = tap.locationInView(self.view)
      println("tapped")
  
      if (tap.state == UIGestureRecognizerState.Ended)
      {
          if (CGRectContainsPoint(self.Region.frame, point)) {
              println("touch")
              var y = kbHeight - textYoutube.center.y
              youTextConst.constant += y
          }
      }
  }
  </code></pre>
  
  <p>The app recognized the tap but not the tap in the specific region, What's wrong with the code?</p>
  
  <p><em>UPDATE</em></p>
  
  <p>I don't know if it matters but the Region is a TextView</p>