Linux command
idevicescreenshot 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Take a screenshot and save to a file
idevicescreenshot [screenshot.tiff]
Take a screenshot with auto-generated filename
idevicescreenshot
Take a screenshot from a specific device by UDID
idevicescreenshot -u [udid] [output.tiff]
Take a screenshot over network connection
idevicescreenshot -n [output.tiff]
Enable debug output
idevicescreenshot -d [output.tiff]
说明
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.
参数
- -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.
FAQ
What is the idevicescreenshot command used for?
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.
How do I run a basic idevicescreenshot example?
Run `idevicescreenshot [screenshot.tiff]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -u, --udid _UDID_ do in idevicescreenshot?
Target device by its unique device identifier (UDID).