Reordering UITableView without reorder control

前端 未结 5 1143
挽巷
挽巷 2020-12-10 03:17

I need the user to be able to reorder a UITableView by this way: he touches a cell for a predetermined period (e.g. 1 second), then he can drag and drop it over the other ce

5条回答
  •  执笔经年
    2020-12-10 03:57

    For future reference... I had the same problem, I found another question(Swift - Drag And Drop TableViewCell with Long Gesture Recognizer) about it and someone suggested this tutorial: https://www.freshconsulting.com/create-drag-and-drop-uitableview-swift/ worked just perfectly for me

提交回复
热议问题