Phone class represents a connected iPhone and provides methods for controlling it. You access phones through the TapKitClient.
Getting a Phone
Single Phone
When you have one phone connected, useget_phone():
Multiple Phones
List all available phones:Setting a Default Phone
Set a default phone for the client session:Phone Properties
Screen Property
Every phone has ascreen property with helpful coordinate utilities:
Executing Actions
ThePhone object provides methods for all actions:
Job object with status information:
Phone Resolution
When calling client methods, the SDK resolves which phone to use:- Explicit phone_id - If passed to the method
- Client default - Set via
use_phone() - Auto-select - If exactly one phone exists
- Error - If ambiguous
Next Steps
Screenshots
Capture screenshots from your phone
Gestures
Learn about tap, swipe, and other gestures