LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

idevicescreenshot

captures screenshots from iOS devices

TLDR

Take a screenshot and save to a file
$ idevicescreenshot [screenshot.tiff]
copy
Take a screenshot with auto-generated filename
$ idevicescreenshot
copy
Take a screenshot from a specific device by UDID
$ idevicescreenshot -u [udid] [output.tiff]
copy
Take a screenshot over network connection
$ idevicescreenshot -n [output.tiff]
copy
Enable debug output
$ idevicescreenshot -d [output.tiff]
copy

SYNOPSIS

idevicescreenshot [options] [output]

DESCRIPTION

idevicescreenshot captures screenshots from connected iOS devices. It saves the current screen as a TIFF image. The tool communicates with the device's screenshotr service via the usbmuxd protocol.A mounted developer disk image is required on the device, otherwise the screenshotr service is not available. The device must be paired and trusted before screenshots can be taken. Use idevicepair to manage device pairing.

PARAMETERS

OUTPUT

Output filename. If omitted, generates a timestamped filename (e.g. screenshot-2024-01-15-12-30-00.tiff).
-u, --udid UDID
Target device by its unique device identifier (UDID).
-n, --network
Connect to network device instead of USB.
-d, --debug
Enable communication debugging.
-v, --version
Display version information.
-h, --help
Display usage information.

CAVEATS

Part of the libimobiledevice suite. The device must be paired and trusted. Requires a mounted developer disk image. DRM-protected content may appear as black in screenshots.

SEE ALSO

Copied to clipboard
Kai