UITableView editable (rearrangeable) without cells beeing deletable

前端 未结 2 429
孤街浪徒
孤街浪徒 2021-01-06 03:24

I was wondering if there is a way to make a UITableView editable in a way where the user is able to rearrange (move) individual TableViewCells, BUT without the \"Remove-Cell

2条回答
  •  北恋
    北恋 (楼主)
    2021-01-06 03:55

    Have you tried implementing the editingStyleForRowAtIndexPath method and returning UITableViewCellEditingStyleNone?

提交回复
热议问题