iOS模拟器录屏

1. 在终端 cd 到文件要保存的文件夹

2.运行命令:

xcrun simctl io booted recordVideo filename.mov

3.停止录屏:control + C