If I have a tableviewrow with a button in it, how do I delete the tableviewrow when the button inside it is clicked? With tableView.deleteRow, you can only delete by index, and there doesn't seem to be a way to get the index from a tableviewrow object.
1 Answer
you could pass a custom parameter to the row and then use that to delete it
Your Answer
Think you can help? Login to answer this question!