UITableViewCell delete button gets covered up

后端 未结 12 1900
闹比i
闹比i 2020-12-01 08:55

UPDATE:

Thanks to information from \"Evgeny S\" I\'ve been able to determine that what is covering up the delete button is the cell background. I had the following f

12条回答
  •  时光取名叫无心
    2020-12-01 09:07

    I was facing an issue where my UITableView was in editing mode and after deleting 2-3 rows I get message "attempting to set a swipe to delete cell when we already have one....that doesn't seem good" logged and then user Interaction on all cells except one cell gets disabled.

    I solved this issue by

    [myTableView setEditing:NO animated:NO];
    [myTableView setEditing:YES animated:NO];
    

    after each deletion.

    This workaround worked in my case.

提交回复
热议问题