Swift - Drag And Drop TableViewCell with Long Gesture Recognizer

前端 未结 3 966
不思量自难忘°
不思量自难忘° 2021-01-02 19:30

So I have seen a lot of posts about reordering cells that pertain to using \"edit mode\", but none for the problem I have. (Excuse me if I am wrong).

I am building a

3条回答
  •  感动是毒
    2021-01-02 19:59

    Since iOS 11 this can be achieved by implementing the built in UITableView drag and drop delegates.

    You will find a detailed description of how to implement them in this answer to a similar question: https://stackoverflow.com/a/57225766/10060753

提交回复
热议问题