Take screenshots in the iOS simulator

前端 未结 17 1562
不知归路
不知归路 2020-12-12 08:33

I want to take a screenshot of my iOS application when it is running in the simulator, and save the screenshot on my Mac. How can I do this?

17条回答
  •  悲&欢浪女
    2020-12-12 09:16

    In OSX Captain its a bug to take screenshot of simulator. You have to Update your OSX Sierra first then your are able to take. while taking in OSX Captain use terminal command which is xcrun simctl io booted screenshot.

    before running this command u have to select desktop in terminal like:

    "cd desktop" then run that command. Happy Coding!!!

提交回复
热议问题