【发布时间】:2014-12-04 09:27:22
【问题描述】:
在 Xcode 6 中,Apple 添加了 simctl,它允许在 iOS 模拟器上做很多事情,但没有截屏选项。 有2个选择,不太舒服:
- 使用工具和 *.js 脚本 - UIAutomation。
- 使用 osascript,如:http://jehiah.cz/a/iphone-simulator-screenshot。
寻找一个简单的方法比如xcrun simctl screenshot
【问题讨论】:
标签: ios-simulator screenshot xcode6.1 xcode-instruments