Samuli Lehtonen Samuli Lehtonen - 11 months ago 81
Objective-C Question

iOS dragging UIImageView

Ok, so I have always wondered how do I actually pick up an image view and drag it. I was planning when I drag an image view and when user places it to correct location it locks there. I really don't have idea how to do this and it has bothered me for sometime.

Thanks so much in advance!


If you're one for reading, then check out the UIResponder Class Reference, and, in particular, touchesBegan and touchesMoved.