How to get the selected cell index path Swift [duplicate]
问题 This question already has answers here : swift: how to get the indexpath.row when a button in a cell is tapped? (18 answers) Closed 2 years ago . I have a table view in my VC. Inside the cell there are some lables and buttons. I passed the values in my labels, now i'm trying that when i hit a button that is also in that cell it should increment the value of the label. The value in that label is coming from previous VC. I have made a delegate for it when button is pressed, when button is