How to Change Directory where iOS Simulator Saves Screenshots?

后端 未结 4 1434
栀梦
栀梦 2021-02-03 11:13

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\'

4条回答
  •  长发绾君心
    2021-02-03 11:58

    Following on from: https://stackoverflow.com/a/44810443/14868

    As of Xcode 9, you can also set the output folder using the defaults command and integrate it with any machine setup you use.

    Example:

    defaults write com.apple.iphonesimulator ScreenShotSaveLocation "$HOME/Screen Shots"

提交回复
热议问题