ios_two_finger_swipe
Two-finger swipe from (x1,y1) to (x2,y2) on an iOS device — a two-finger scroll/pan. Both fingers travel the vector in parallel, offset perpendicular to it so one never runs through the other. Use where a one-finger swipe does the wrong thing: tilting a map into 3D, scrolling inside a web view that pans with one finger, or dismissing a two-finger-aware sheet. 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) | |
| norm | No | If true, x/y (and path points) are 0..1 FRACTIONS of the screen — pass `pixelInScreenshot ÷ screenshotSize` directly (scale-free, matches the frontend, avoids point-guessing). Default false = iOS screen points. | |
| udid | Yes | iOS device UDID | |
| input | No | Input path. 'auto' (default) drives the gesture through the automation session. 'hid' drives it through the direct input path instead, which needs no automation session — it reports 'no HID available' on iOS 17.x or with no tunnel. | |
| durationMs | No | Gesture duration in ms (default: 400) |