When saving a screenshot from the iOS Simulator, the screenshots are saved to the Desktop
After taking a few, my Desktop is quickly polluted with screen shots that don't belong there.
How does one change the directory where iOS Simulator screenshots are saved?
In some issue related to where screenshot gets stored, a commenter responded that 'by default' they get stored on the desktop (implying it could be changed).
(iOS Simulator 8.0, Xcode 6.0.1, Mac OS X 10.9.5)
iOS Simulator screen shots are saved to your desktop ( ~/Desktop ).
From the File explorer, select This PC > Pictures. Then right-click on Screenshots and select Properties. Now select the Location tab from the Screenshot Properties. You can enter the new path where you'd like your screenshots to be saved at.
in iOS Simulator menu, go to Debug -> Location -> Custom Location. There you can set the latitude and longitude and test the app accordingly.
You can even create a new folder after taking the screenshot. To do so after tapping on the Share icon from your screenshot, tap on Save to Files > Folder icon (located in the top-right corner next to Save) > [rename folder] > Done.
Xcode 9 adds behavior for setting a custom directory for iOS Simulator screenshots.
Press ⌥⌘S or Hold the ⌥ Option key and select the menu item:
File > New Screen Shot...
This presents a file "Save As..." dialog. Note the new checkbox on the dialog:
Use this as the default location
Check that checkbox to change the default directory for ⌘S iOS Simulator screenshots.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With