Draganddrop not working for iOS

tried with TouchActions did not work.
TouchAction actions = new TouchAction((MobileDriver) driver);
actions.press(draggable.element().getLocation().x, draggable.element().getLocation().y);
actions.moveTo(droppable.element().getLocation().x, droppable.element().getLocation().y);


even tried with javascript mobile: drag, mobile:swipe , did not work either.

I am using appium 1.3.1 and java client is 2.0.0.
any ideas on how draganddrop should be done?

Take a look at Drag & Drop Hello World Example

thanks… looks like in my case i had to perform waitAction after doing longPress. just longPress was not enough coz it was releasing the element too soon.