ios_drag_drop
Drag-and-drop on an iOS device: hold at (x1,y1) for holdMs to grab, then move to (x2,y2) over durationMs. Distinct from ios_swipe (no explicit hold). Use for home-screen icon reorder, drag-into-folder, slide-to-confirm. Coordinates are screen points. Requires an active iOS automation session.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start X (screen points) | |
| x2 | Yes | End X (screen points) | |
| y1 | Yes | Start Y (screen points) | |
| y2 | Yes | End Y (screen points) | |
| udid | Yes | iOS device UDID | |
| holdMs | No | Hold-in-place duration before motion in ms (default: 500) | |
| durationMs | No | Motion duration from start to end in ms (default: 400) |