Reputation: 12405
I need to drag on ImageView to a UITableView. I have implemented the dragging but now I need to determine the cell on which the image view is dragged and dropped.
I can get the visible cells but than calculating the exact indexpath doesn't seem clear. Any help is appreciated.
Upvotes: 0
Views: 107
Reputation: 80273
Get the point in the table view from your dragging callback and then check
indexPathForRowAtPoint:
Upvotes: 1