美文网首页
模拟器屏幕录制

模拟器屏幕录制

作者: Beta是条好狗 | 来源:发表于2017-12-31 16:54 被阅读5次

    模拟器屏幕录制

    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原帖

    相关文章

      网友评论

          本文标题:模拟器屏幕录制

          本文链接:https://www.haomeiwen.com/subject/vuragxtx.html