views:

59

answers:

1

Hello

I am developing for Iphone by using Netbiscuits tool. I need to use drag & drop functionality on IPhone. I have found a javascript code which locates at Drag Drop Javascript Library for iPad & iPhone. However I am not able to use drag & drop functionality by usng javascript code which was given at the website. Have you ever added drag & drop functionlity to IPhone? I would be glad if you have a sample which was written on Javascript. Thank you from now for your helps.

Regards Altaico

A: 

You can have a look at a similar problem I found some time ago here.

But it used objective-C and not Javascript. The idea behind it is, as you touch an object you can create an UIImageView that represents it (maybe semi-transparent like drag&drop on the desktop works), add it on the main UIView as a subview and move it around by intercepting the dragging in the touchesMoved:withEvent: method

rano
el altaico
Sorry, but as I said above, I can provide you only an objective-C workaround
rano