How to hide iOS simulator Tool Bar?

烈酒焚心 提交于 2020-06-11 18:37:06

问题


Seems like the iOS simulator added a new ToolBar, which I am unable to hide.

Is there any shortcut to hide it?


回答1:


No there is no way to hide the toolbar. It is an integrated toolbar and title bar.

If you'd like to see this option please file a feedback request for it.




回答2:


Assuming you want a nice screenshot with the device the following worked for me, from Swany's answer on this Apple forum thread :

In a terminal, disable shadows on Screenshots with the following command:

defaults write com.apple.screencapture disable-shadow -bool TRUE; killall SystemUIServer

Take a screenshot with Screencapture, either by selecting a region without the Toolbar, or of the whole Simulator window and crop the Toolbar.

You can still add shadow on the image wherever you use it.

The following command reverses the change to the screencapture app :

defaults write com.apple.screencapture disable-shadow -bool FALSE; killall SystemUIServer


来源:https://stackoverflow.com/questions/60889509/how-to-hide-ios-simulator-tool-bar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!