How to record the screen of the iOS simulator

In order to record the screen of the iOS simulator, first select a simulator in XCode and run the app, then open a terminal window and run the command:

1
xcrun simctl io booted recordVideo filename.mov

Note: Replace filename in the above command with the real file name

Then you can operate the app in the emulator. When you want to end the screen recording, just press the Ctrl+C key combination in the terminal window. Then you can see the video file in the directory opened in the terminal window。

本文标题:How to record the screen of the iOS simulator

文章作者:Morning Star

发布时间:2021年06月28日 - 08:06

最后更新:2022年01月18日 - 08:01

原始链接:https://www.mls-tech.info/app/swift/ios-simulator-record-video-en/

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。