I have a custom cell with a few UIButtons in it. I have created Target Actions like so on the buttons:
[cell.customLocationButton addTarget:self action:@selector
you probably initialized the button like this:
let button = UIButton.init(frame: CGRect.init(x: 0, y: 0, width: , height: )
try to do it like this:
let button = UIButton.init(type: .system)
button.frame = CGRect.init(x: 0, y: 0, width: , height: )
The "fade" animation on tap, comes with system style, after init the button you can customize it.