我在运行iOS 5的iPhone模拟器中保存了一些截图,但我找不到它们。

我以前遇到过这个问题,我花了很长时间才在文件系统中找到它们。这是如此简单,我只是一个傻瓜,还是没有人使用这个功能或什么?

我知道我可以从我真正的手机上得到屏幕截图,但我不想要视网膜屏幕截图——我想要普通的屏幕截图。


当前回答

默认情况下,截图保存在桌面上。

其他回答

我在这里找到的

图书馆/开发/ CoreSimulator /设备/ (UDID) /数据/媒体/ DCIM

在Organizer视图中右键单击截图,选择“Show In Finder…”。

这将为您打开Finder中的截图文件夹。

我浏览了所有我找不到截图保存在哪里的帖子…… 所以,我只是使用command+shift+4,释放键后,你会看到一个牛眼在你的鼠标指针。单击并拖动要复制的屏幕部分。一旦释放你的鼠标点击图像将存储在你的桌面。比弄清楚模拟器在哪里存储截图要好。

If you create screenshots from within the simulator using File -> Save Screen Shot (Command-S), those files end up on the Desktop as something like: iOS Simulator Screen shot Apr 22, 2012.png. Under Xcode 6 & newer, device screenshots taken with the "Take Screenshot" button in the Xcode "Devices" menu will end up on the desktop. Look for a file named "Screen Shot 2014-MM-DD at HH.MM.SS.png" For Xcode 5 & older, if you create screenshots from within Xcode (Organizer), you'll find these in ~/Library/Application Support/Developer/Shared/Xcode/Screenshots. To take screenshots from the Xcode (Organizer) you need to have hardware device attached. The organizer does not appear to take screenshots from the simulator.

在Xcode之外:

If you create screenshots using the Finder (command-shift-3 or command-shift-4), these also end up on the Desktop as something like: "Screen Shot 2012-04-22 at _ AM.png" If you use the Grab application (found in /Application/Utilities), you can save those files anywhere you decide. :-) If you have saved a screenshot to the Photos library from within your app, for example with UIGetScreenImage and UIImageWriteToSavedPhotosAlbum, they end up at ~/Library/Application Support/iPhone Simulator/***version***/Media/DCIM/100APPLE

我发现一个很有用的方法就是用聚光灯搜索快捷键CMD+空格然后输入文字“截屏”或者“ios模拟器截屏”

如果它不在最初的搜索屏幕上,你总是可以使用列表中第一个显示All in Finder选项

这不仅第一次有效,而且每次都有效,而且当我忘记之前的屏幕截图移动到哪里时,它也会提醒我。