您的当前位置:首页正文

模拟器保存图片

来源:花图问答

至此,算是终于找到项目的截图了,有两个位置:

1./Users/你的用户名/Library/Application Support/iPhone Simulator/模拟器版本号/Applications/Xcode所生成的某项目的编号/Library/Caches/Snapshots/项目名

2./Users/你的用户名/Library/Application Support/iPhone Simulator/模拟器版本号/Library/Caches/Snapshots/iOS项目名

比如:

/Users/crifan/Library/Application Support/iPhone Simulator/5.1/Library/Caches/Snapshots/com.apple.mobileslideshow

有对应截图文件UIApplicationAutomaticSnapshotDefault-Portrait.jpg:

下面有对应的截图文件UIApplicationAutomaticSnapshotDefault-Portrait.jpg: