title: Single Tap TapGestureRecognizer
body: <p>I am trying to use this code for a tap gesture recognizer, it works fine when number of taps required is set to 2, but when I set the number of taps required to 1 it stop functioning.  I appreciate any help in getting this to work.</p>
  
  <pre><code>   UITapGestureRecognizer *doubleTap =
      [[UITapGestureRecognizer alloc]
       initWithTarget:self
       action:@selector(tapDetected:)];
     [doubleTap setNumberOfTapsRequired : 1];
  [doubleTap setDelaysTouchesBegan : YES];
      [self.view addGestureRecognizer:doubleTap];
  </code></pre>