Documentation Index
Fetch the complete documentation index at: https://docs.tapkit.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
Check lock state via 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
phone.volume_up() # Increase volume one step
phone.volume_down() # Decrease volume one step
phone.action_button() # Press Action button (iPhone 15 Pro+)