title: UIImageView in UITableCell not clickable
body: <p>I am implementing a UITableView, in which each cell has a <code>UIImageView</code> subview. I want this <code>UIImageView</code> to be clickable, so I did the following:</p>
  
  <p>In <code>tableview:cellForRowAtIndexPath</code> function, when I initialize the cell (when unable to dequeue from used ones), I have following initialization for the imageview:</p>
  
  <pre><code>imageView.userInteractionEnabled = YES;   
  UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(replyTapped:)];      
  singleTap.numberOfTapsRequired = 1;        
  [imageView addGestureRecognizer:singleTap];
  </code></pre>
  
  <p>And the cell's <code>userInteractionEnabled</code> property is NO since I don't want the entire cell to be selected, like below:</p>
  
  <pre><code>cell.userInteractionEnabled = NO;
  </code></pre>
  
  <p>And inside the same class, I have this callback defined:</p>
  
  <pre><code>- (void)imageviewTapped:(UISwipeGestureRecognizer* )tap
  </code></pre>
  
  <p>but it seems like this <code>imageviewTapped</code> function is never called when I tap on the imageview..</p>
  
  <p>I am wondering if I am doing anything wrong here, and what is a good practice to add TapGestureRecognizer to subview of a cell?</p>
  
  <p>Thank you</p>