In my uitableview, when the user sets the mode to edit and tries to delete a row, I do some validations to check if that row is ok to be deleted. If not, I would like to reset the row to the previous state, i.e without the delete button on the right, but just the minus horizontal button on the left.
Which method would I use to do the above?
Try this code,