iOS模拟器截图存储在哪里? [英] Where are iOS simulator screenshots stored?
问题描述
我在运行iOS 5的iPhone模拟器中保存了一些截图,但我找不到它们。
I have saved some screenshots in the iPhone Simulator running iOS 5, but I can't find them.
之前我遇到过这个问题,我花了很多时间在文件系统中找到它们。这是如此简单,我只是一个愚蠢的,或没有人使用这个功能或什么?
I had this problem before, and it took me frickin' ages to find them in the file system. Is this so simple that I am just a dullard, or does no-one use this feature or what?
我知道我可以从我的真实手机上截取屏幕截图,但是我不想要视网膜截图 - 我想要正常的截图。
I know I can get the screenshots off my real phone, but I don't want retina screenshots - I want normal screenshots.
推荐答案
-
如果你使用文件 - >保存屏幕截图(Command-S)在模拟器中创建屏幕截图,这些文件最终在桌面上显示如下:
iOS模拟器屏幕截图4月22,2012.png
。
在Xcode 6&使用XcodeDevices菜单中的Take Screenshot按钮拍摄的更新的设备屏幕截图将最终显示在桌面上。在HH.MM.SS.png找一个名为 Screen Shot 2014-MM-DD
的文件
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
"
对于Xcode 5&如果您在Xcode(管理器)中创建屏幕截图,您可以在〜/ Library / Application Support / Developer / Shared / Xcode / Screenshots
中找到它们。要从Xcode(管理器)获取屏幕截图,您需要连接硬件设备。组织者似乎没有从模拟器中截取屏幕截图。
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之外:
-
如果使用Finder(命令移位3或命令移位4)创建屏幕截图,这些也最终会在桌面上显示:屏幕截图2012-04-22 at _ AM.png
如果你使用Grab应用程序(见于 / Application / Utilities
),您可以将这些文件保存在您决定的任何位置。 : - )
If you use the Grab application (found in /Application/Utilities
), you can save those files anywhere you decide. :-)
如果您已从应用程序中将截图保存到照片库,例如使用UIGetScreenImage和UIImageWriteToSavedPhotosAlbum,它们最终会在〜/ Library / Application Support / iPhone Simulator / *** version *** / Media / DCIM / 100APLE
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
这篇关于iOS模拟器截图存储在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!