Working with swift. got a tableView with a custom Cell. have the imageView in cell and trying work out why the tap/touch function with uiimageview doesn't work. In my cellForRowAtIndexPath
var tap = UITapGestureRecognizer(target: self, action: "handleTap:") -
cell.smallImageView.tag = (indexPath.row)
cell.smallImageView.addGestureRecognizer(tap)
and a function called "handleTap"
I have the userinteraction enabled. Also have didSelectRowIndexPath and that is being used for some (segue).
Am i missing something? I have been stalking through stackoverflow and couldn't find a solution.
Thanks in advanced!