iOS unlock
ios_unlockWake the device with the keyboard Home key: it lights a dark display and clears a passcode-free Lock Screen without closing whatever app was open, so it is safe to call at ANY time — even on an already-awake device, since it never navigates away from the foreground. Needs NO automation session, because the automation runner itself cannot launch while the Lock Screen is frontmost. If that wake could not be sent at all (older iOS, or no active input channel), an alternate wake-and-swipe is used instead; dismissLockScreen additionally forces that alternate swipe for a caller who can see the Lock Screen is still showing (DANGER: this swipe goes to the Home screen on an already-unlocked device). The reply reports only what it can observe (display dark or lit); it cannot confirm whether a Lock Screen is still showing. A passcode is never bypassed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | iOS device UDID | |
| dismissLockScreen | No | Force an additional wake-and-swipe dismiss even when the keyboard wake was sent — set when you can see the Lock Screen is still showing. On an already-unlocked device this swipe goes to the Home screen. |