Navigation
phone.home() # Go to home screen
phone.escape() # Go back / dismiss modal
phone.app_switcher() # Open app switcher
phone.control_center() # Open Control Center
phone.spotlight() # Open Spotlight search
phone.siri() # Activate Siri
Lock & Unlock
phone.lock() # Lock the screen
phone.unlock() # Unlock (no passcode)
phone.unlock(passcode="123456") # Unlock with passcode
client.status():
status = client.status()
if status.screen_locked:
phone.unlock(passcode="123456")
Orientation
phone.rotate(orientation="portrait") # Default upright
phone.rotate(orientation="left") # Landscape, home on left
phone.rotate(orientation="right") # Landscape, home on right
phone.rotate(orientation="upside_down") # Portrait inverted
Hardware Buttons
phone.volume_up() # Increase volume one step
phone.volume_down() # Decrease volume one step
phone.action_button() # Press Action button (iPhone 15 Pro+)