I have created a table view and i am adding my custom uiview into the cell’s content view.
The uiview has a uibutton. However i can add the uibutton into the content view when the cell is created.
I want to get the tap event on the tableview to perform some action. I also want tap event on the uibutton to perform a different action.
The problem is when i tap a row the button is also getting pressed and two events are triggered.
How can i get both the events discreetly? i.e tap on the tableview cell when portion the cell outside the uibuttons boundary is clicked.
You can add a Button in cell in as
then you can get events separately