pinch
Zoom iOS simulator screens in or out by simulating a two-finger gesture at specified coordinates and scale factor.
Instructions
Perform a pinch gesture (zoom in/out) at coordinates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Center X coordinate for pinch | |
| y | Yes | Center Y coordinate for pinch | |
| scale | Yes | Scale factor: <1.0 to zoom out, >1.0 to zoom in | |
| velocity | No | Pinch velocity in scale factor per second | |
| device_id | Yes | Simulator UDID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |