set_orientation
Rotate an iPhone or iPad interface to portrait, upside-down, or landscape orientation during app testing. Specify the target orientation and optional device to control the screen layout.
Instructions
Rotate the device's interface orientation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. | |
| orientation | Yes |