title: Using a custom image for a UITableViewCell's accessoryView and having it respond to UITableViewDelegate
body: <p>I'm using a custom drawn UITableViewCell, including the same for the cell's <code>accessoryView</code>. My setup for the accessoryView happens by the way of something like this:</p>
  
  <pre><code>UIImage *accessoryImage = [UIImage imageNamed:@"accessoryDisclosure.png"];
  UIImageView *accImageView = [[UIImageView alloc] initWithImage:accessoryImage];
  accImageView.userInteractionEnabled = YES;
  [accImageView setFrame:CGRectMake(0, 0, 28.0, 28.0)];
  self.accessoryView = accImageView;
  [accImageView release];
  </code></pre>
  
  <p>Also when the cell is initialized, using <code>initWithFrame:reuseIdentifier:</code> I ensured to set the following property:</p>
  
  <pre><code>self.userInteractionEnabled = YES;
  </code></pre>
  
  <p>Unfortunately in my UITableViewDelegate, my <code>tableView:accessoryButtonTappedForRowWithIndexPath:</code> method (try repeating that 10 times) is not getting triggered. The delegate is definitely wired up properly. </p>
  
  <p>What can be possibly missing?</p>
  
  <p>Thanks all.</p>