Home / IOS Development / ios – UITableView drag and drop one cell to another cell?

ios – UITableView drag and drop one cell to another cell?



I have a UITableView with a drag and drop delegate set up. I̵

7;m able to drag cells between other cells in UITableView, but it does not appear to be a delegated method of what happens if I drag a cell on top of another cell, in which case I will combine the two cells ( kind of like dragging around apps in iOS). I could not find a delegate method called when a cell is placed on top of another cell. What is the best way to detect when a cell has been ‘dropped’ on top of another cell? Thanks


Source link