title: UITapGestureRecognizer not working on iOS9
body: <p>I have an application which uses <code>UITapGestureRecognizers</code> which seem to not work in iOS9 Beta 2.</p>
  
  <p>They are successfully calling </p>
  
  <pre><code>- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
  {
    NSLog(@"shouldReceiveTouch");
    return YES;
  }
  </code></pre>
  
  <p>but it doesn't hit any of the other UITapGesture delegate methods.</p>
  
  <p>When I run the same application (from Xcode 7) on a device running on iOS 8, it works as expected.</p>
  
  <p>Has anyone else hit this?</p>
  
  <p>Here is how I initialise the UITapGestureRecognizer.
  <img src="https://i.stack.imgur.com/bRW5o.png" alt="TapGestureRecognizerSetup"></p>
  
  <p><strong>Edit</strong><br>
  If I create the UITapGestureRecognizer in code instead of in the ViewController xib it works fine, so there's something up with the xib parsing in iOS9 or something.</p>
  
  <pre><code>_tapGesture2 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(onMainViewTap:)];
  _tapGesture2.numberOfTapsRequired = 1;
  _tapGesture2.delegate = self;
  [self.view addGestureRecognizer:_tapGesture2];
  </code></pre>
  
  <p><strong>Edit2</strong><br>
  If I deleted the GestureRecognizer in the XIB and added it back in again using XCode 7, it also worked.
  When I did this, it added <code>&lt;pressTypeMask key="allowedPressTypes"/&gt;</code> into the xib under the UITapGestureRecognizer.</p>