Reputation: 33
I have UITableView and CustomCell also i use didSelectRowAtIndexPath to select row.
My problem is that cell is marked by clicking on it heavily to the left . How I click in the middle or on the right nothing happens . Anyone knows the solution ?
EDIT :
its my cell screenshot
If I click in middle or right nothing happens but if i click on left imageView i call my function and cell is selected
Upvotes: 0
Views: 207
Reputation: 516
I don't have details about the view hierarchy in your custom cell but I suspect the problem is the key responder.
I mean, I guess you have a button, view with tap gesture… something that capture your tap and doesn't allow to the tap reach the cell. Analyze your view hierarchy.
See the image:
Could you give me more details about the view hierarchy please?
Upvotes: 1