I am currently developing an application in which the user displays a list in the form of a table. when the user selects a specific row, he can drag it to another row. When this happens, a warning is displayed giving some specific information. Any idea on how to do this.
What I do is that I use gesture recognizers. When a specific row is selected, an image of the selected row is created, which is then dragged into a specific cell of the table view. I can move the image, but my problem is that if I do not become an imageView under the UIView, drag and drop will not happen .....
My drag-and-drop code based on apple concerns the sample code .
Update:
Having tried for some time, I can almost realize this. I still have one doubt. I create a cell image after listening to it. Then a UIPanGestureRecognizer was added to this image, which it turns, makes its movement possible. The only problem is how can I find out on which cell the image was shot?
sandeep sinha
source share