orientation_set
Change an iOS simulator's screen orientation to portrait, landscape, or upside down via a Maestro flow. Requires the app's bundle identifier and device UDID.
Instructions
Sets the screen orientation on an iOS simulator via an ephemeral Maestro flow. bundleId is required (Maestro needs it for the appId flow header). Valid values: PORTRAIT, LANDSCAPE_LEFT, LANDSCAPE_RIGHT, UPSIDE_DOWN
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Simulator / device UDID | |
| bundleId | Yes | App bundle identifier | |
| value | Yes | Target orientation: PORTRAIT | LANDSCAPE_LEFT | LANDSCAPE_RIGHT | UPSIDE_DOWN | |
| timeoutMs | No | Flow timeout in ms | |
| noLaunch | No | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |