Samuli Lehtonen Samuli Lehtonen - 1 year ago 111
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!

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download