Hello. Is there something similar to the desktop dragitem available for iOS?
The user of my app needs to drag an image with his finger from a canvas onto a textfield. When dropping the dragged image onto the textfield, some text is displayed in the textfield.
On macOS I put the text needed to pass to the TextField into Dragitem.Text using the MouseDown-event of the Canvas (see simplified code below):
dim p as new Picture(…)
dim dragtext as string ) = “…“
dim d as dragItem
d = new DragItem(self.window, me.left, me.top, me.width, me.height)
d.picture = p
d.dragpicture = p
d.text = dragtext
d.drag()
Then in the DropObject event of the Textfield I used:
If Obj.TextAvailable then
me.Text = Obj.Text
End if
How would I accomplish this task on iOS?