I have a custom UITableViewCell
subclass which contains a few IBAction
methods wired up from a nib.
Under iOS 8 everything works as expecte
Just add this line in tableView
cellForRowAtIndexPath
method
cell.contentView.userInteractionEnabled = false;
return cell;
but this is not a proper solution.
iOS 9, puts a content view to a tableViewCell
, even though you use a custom cell/xib. The content view being added after the custom cell, it was on top of it.
To solve this properly just replace custom cell/xib's view with UITableviewCell
from object library [from where you usually drag&drop UIButton
, UILabel
, etc...];