iOS orientation get HID
ios_orientation_get_hidRead the device orientation and whether the iOS orientation lock is on, without touching the screen (no automation session needed). Returns JSON {orientation, non_flat_orientation, locked}: orientation can be faceUp/faceDown when the device lies flat, and non_flat_orientation is the last upright one, which is what the UI is laid out for. The lock can be read but not changed here. Returns "no HID available" on iOS 17.x / no-tunnel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | iOS device UDID |