objective-c - custom cell
PHPz
PHPz 2017-05-02 09:23:26
0
1
814

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?

PHPz
PHPz

学习是最好的投资!

reply all(1)
洪涛

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template