Reputation: 5101
In my app I can move (reorder) a UITableView row without using the default edit mode to do it, I am doing this after a long-press gesture on the selected row inside the cellForRowAtIndexPath method, doing this, the table view enters editing mode, and then the user has to tap/hold/move on the reorder control (three paralell horizontal lines) to move the row.
I am asking if there is another way to move the row dragging it from any point of the row, not only from the reorder control? I have seen this on another app.
Upvotes: 3
Views: 497
Reputation: 40030
You would need to manually adjust the frame of UITableViewCellReorderControl
of the UITableViewCell
. The frame would have to be set to cell bounds.
There are many posts showing how to change the position of the reorder control. Making adjustments to them to change the control's frame should not be too complicated.
Have a look here:
How to make reorder control of UITableViewCell in left side?
Moving reordering control to left
How to change Reorder Control image on ios 7
Upvotes: 1