Change hit test behaviour of a UITableCellView

Hi,

I have a custom view inside a custom UITableViewCell

Everything works great except now when i click on my button which is inside my Cell its the cell that get the event and not the button


How can i get to make my button get the click ?


Thank you !

Normally the button should get the tap event instead of the cell. Can you show your code?

Accepted Answer

Hi Jsslai,

Thank you, actually i was calling the init UITableViewController with UITableViewStylePlain style despite having sections in my UIViewTableController which is absurd changing it to UITableViewStyleGrouped resolved my issue


Thank you again

Change hit test behaviour of a UITableCellView
 
 
Q