title: Implementing UITapGestureRecognizer directly into UIView instead of ViewController does not work
body: <p>As explained in <a href="https://stackoverflow.com/questions/5954934/issue-with-a-uitapgesturerecognizer">this SO-answer</a> I am trying to implement <code>UITapGestureRecognizer</code> in a subclass of <code>UIIMageView</code>. My approach can be found below.</p>
  
  <p>An instance of <code>MenuButtonImageView</code> is a subview of <code>homeScreenViewController.view</code>.</p>
  
  <p>I implemented <code>touchesBegan:withEvent:</code>, <code>touchesMoved:withEvent:</code> and <code>touchesEnded:withEvent:</code> too and do work fine.</p>
  
  <p><strong>Problem</strong>: Somehow <code>handleSingleFingeredTap:</code> is never called. What could be the problem with this?</p>
  
  <pre><code>@interface MenuButtonImageView : UIImageView
  
  @property (nonatomic, weak) IBOutlet HomescreenViewController *homeScreenViewController;
  @property (nonatomic, readwrite) Visibility visibility;
  
  - (void)handleSingleFingeredTap:(UITapGestureRecognizer *)recognizer;
  
  @end
  
  @implementation MenuButtonImageView
  
  - (id)initWithFrame:(CGRect)frame
  {
      self = [super initWithFrame:frame];
      if (self) {
          self.visibility = HIDDEN;
          self.userInteractionEnabled = YES;
          UITapGestureRecognizer * singleFingeredTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleSingleFingeredTap:)];
          singleFingeredTap.numberOfTapsRequired = 1;
          [self addGestureRecognizer:singleFingeredTap];
      }
      return self;
  }
  
  - (void)handleSingleFingeredTap:(UITapGestureRecognizer *)recognizer {
      NSLog(@"handleTap was called"); // This method is not called!
      [self toggleMainMenu];
  }
  
  -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { ... }
  -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { ... }
  -(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event { ... }
  
  @end
  </code></pre>