模擬器屏幕錄制

模擬器屏幕錄制

For Xcode 8.2 (8C38)

You can take videos and screenshots of Simulator using the xcrun Xcode command-line utility.

  1. Run your app on the simulator.

  2. Open Terminal.app

  3. Run the command

    • To take a screenshot,
      xcrun simctl io booted screenshot
    • To take a video,
      xcrun simctl io booted recordVideo <filename>.<file extension>.
      For example: xcrun simctl io booted recordVideo appvideo.mov
  4. Press cntrl + c to stop recording the video.

stackoverflow原帖

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容