Where are iOS simulator screenshots stored?

2019-01-21 06:16发布

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.

13条回答
叼着烟拽天下
2楼-- · 2019-01-21 06:32

With Xcode 9+, Simulator saves screen shot file on (logged-in user's) Desktop and it's default path.

To change default path (with Xcode 9+), press and hold ⌥ Option (alt) button from keyboard, while you take a screen shot. It will show to a dialog with file storage options and also allows to set/change default path.

enter image description here

查看更多
Evening l夕情丶
3楼-- · 2019-01-21 06:33

It looks like the most recent Xcode (I'm using v4.2.1) does have a bug saving screen shots from the iOS simulator. Even after press File > Save Screen Shot, I can't find any image files on the Desktop. Recently, I noticed this awesome software iOS-Simulator Cropper. It allows you to capture images from the simulator with different settings.

查看更多
The star\"
4楼-- · 2019-01-21 06:35

They get saved to the Desktop, look for a PNG file with the naming convention "iOS Simulator Screen shot [DATE].png"

查看更多
Animai°情兽
5楼-- · 2019-01-21 06:35

Alternatively if you are experiencing the bug you can use Edit->Copy Screen to copy to the clipboard.

查看更多
再贱就再见
6楼-- · 2019-01-21 06:35

By default, screenshots are saved on the desktop.

查看更多
倾城 Initia
7楼-- · 2019-01-21 06:36

Press command + S. take sreen shot and it will store in Desktop See Example

查看更多
登录 后发表回答