Search code examples
iosobjective-cios9

Buttons in Cell not clickable IOS 9


UITableViewCell with a few buttons on it, On IOS 8.4 buttons clickable (Able to get tap event), In IOS 9 Unable to get tap event.

Did any one notice this?


Solution

  • Ok I found the solution for this, I think this bug was at the past already at IOS 6.. any way you should add this to your UITableViewCell:

    self.contentView.userInteractionEnabled = NO;
    

    But this was because I've added the views to the cell itself, instead of I'ts contentView.