Set the device orientation
set_orientationRotates the iOS Simulator to portrait, portraitUpsideDown, landscapeLeft, or landscapeRight, so subsequent screenshots and tap coordinates reflect the new orientation.
Instructions
Rotate the simulator to portrait, portraitUpsideDown, landscapeLeft or landscapeRight. Uses devicectl (the Device Hub toolchain) since simctl has no rotation support. Screenshots reflect the rotation, so tap coordinates change accordingly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orientation | Yes | target orientation |