Navigation
Copy
phone.home() # Go to home screen
phone.app_switcher() # Open app switcher
phone.control_center() # Open Control Center
phone.spotlight() # Open Spotlight search
phone.siri() # Activate Siri
Lock & Unlock
Copy
phone.lock() # Lock the screen
phone.unlock() # Unlock (no passcode)
phone.unlock(passcode="123456") # Unlock with passcode
client.status():
Copy
status = client.status()
if status.screen_locked:
phone.unlock(passcode="123456")
Orientation
Copy
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
Copy
phone.volume_up() # Increase volume one step
phone.volume_down() # Decrease volume one step
phone.action_button() # Press Action button (iPhone 15 Pro+)