0

I want to test an ios app in which I have to drag and drop a button. The button is located in a UIView and I have to drop it from there to another UIView. Actually the UIView which contains the button is contained to the other UIView in which I want to drop the button. I tried to use swipe and pan but none of them was working in my case. Is there any solution?

1 Answers1

0

Here is an example of drag and drop using pan(from_query, to_query).

The alternative is to pan between points. Follow the example in the documentation.

jmoody
  • 2,480
  • 1
  • 16
  • 22