Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有一个秘密技巧如何在iOS 模拟器本身中截取屏幕截图?
我想获得屏幕截图预览并能够像在运行 iOS 13 beta 的设备上一样选择整页屏幕截图。
这是在 Xcode 11.4 中实现的。
要获取屏幕截图并获得预览,请单击Device > Screenshot或选项(alt)+单击窗口标题中的屏幕截图按钮:
Device > Screenshot
您可以使用xcrun simctl io <UDID> screenshot ...(检查xcrun simctl help io完整的详细信息)从命令行执行此操作,或者只是从 Simulator.app 的文件菜单中保存它。
xcrun simctl io <UDID> screenshot ...
xcrun simctl help io