title: UITapGestureRecognizer for UIImageView on UIScrollView never called iOS5
body: <p>I am adding a UIImageView as a subview to a UIScrollView then i set the image.</p>
  
  <p>Im trying to to use UITapGestureRecognizer.</p>
  
  <p>The selector of the UITapGestureRecognizer is never called in iOS 5 (in iOS 6 it DOES!).
  Tried many variations. this is my code:</p>
  
  <pre><code>    UIImageView *imgView = [[UIImageView alloc]initWithFrame:CGRectMake(index*(IMAGE_WIDTH+10), 10.0, IMAGE_WIDTH, IMAGE_HEIGHT)];
      [imgView setImageWithURL:[NSURL URLWithString:meal.RecommendedImageURL] placeholderImage:[UIImage imageNamed:@""]];
      imgView.layer.cornerRadius = 4;
      [imgView.layer setMasksToBounds:YES];
      [imgView setUserInteractionEnabled:YES];
      [imgView setMultipleTouchEnabled:YES];
  
      [scrollView addSubview:imgView];
  
      if (IOS_NEWER_OR_EQUAL_TO_5)    
      {
          UITapGestureRecognizer *tapGestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(imageTapped:)];
          [imgView addGestureRecognizer:tapGestureRecognizer];
          tapGestureRecognizer.numberOfTapsRequired = 1;
          tapGestureRecognizer.enabled = YES;
          tapGestureRecognizer.delegate = self;
          [tapGestureRecognizer setCancelsTouchesInView:NO];
      }
  </code></pre>
  
  <p>this is my selector which is only called in iOS5:</p>
  
  <pre><code> - (void) imageTapped: (UITapGestureRecognizer *)recognizer
  {
      //Code to handle the gesture
      UIImageView *tappedImageView = (UIImageView*)recognizer.view;
      GGFullscreenImageViewController *vc = [[GGFullscreenImageViewController alloc] init];
      vc.liftedImageView = tappedImageView;
      vc.liftedImageView.contentMode = UIViewContentModeScaleAspectFit;
      if (IOS_NEWER_OR_EQUAL_TO_5) {
          [self.parentViewController presentViewController:vc animated:YES completion:nil];
      }
      else
      {
          [self.parentViewController presentModalViewController:vc animated:YES];
      }
  
  
  }
  </code></pre>
  
  <p>In addition to that, i tried to setCancelsTouchesInView to YES in my UIScrollView but it doesn't work either.
  Thanks for your help!</p>