I added a pan gesture to the cell to achieve sliding deletion, but whenever I slide the cell, the cell will be selected. Is there a way to prevent the cell from being selected when I slide the cell?
學(xué)習(xí)是最好的投資!
How to delete a cell if it is not selected? So when you say selected cell, do you mean that the cell has the effect of being selected? If this is the case, you can pass
cell.selectionStyle = UITableViewCellSelectionStyleNone;
Remove the selection effect.