I have a button inside every cell of my UITableView, but when the button is triggered, I want to find out which cell it’s inside. I could use a tag, or subclass the button and add a indexPath to it, but then the problem comes when I’m deleting or adding cells and I have to keep up with updating all those buttons. Is there another way people can think of doing this well?
Share
1 Answer