ios - UITableView - how to recognize if i drag a cell over a cell? -
i want recognize when select cell , drag on cell.
is there example/ workaround this?
my goal create uitableview allows me merge 2 cells 1 cell.
thanks
you can use uitableview delegates
to move rows
- (bool)tableview:(uitableview *)tableview canmoverowatindexpath:(nsindexpath *)indexpath
and compare cgrects
self.tableview rectforrowatindexpath:(nsindexpath *)
then, believe, create, insert new cell.
Comments
Post a Comment