Is it possible to remove the bottom label from the simulator that says \"iPhone X - 11.3\"? I would like to take a screenshot without the label but include the device bevels and
In case you want to have iPhone's borders there is a hacky way to make a screenshot without the iPhone label.
Move the iPhone the way so that the label is not visible on the screen. As below:
After making a screenshot using: Shift+Cmd+4 > hover the simulator > press Space > press click on touch pad. It will take a screenshot of this area:
And then as a result you will have an image of simulator without the label:
Hope this answer was clear :)
defaults write com.apple.iphonesimulator FloatingNameMode 2
That option is not guaranteed to work forever, but it works with current builds.
BONUS The floating thumbnails won't appear any longer on your screenshot when using command + shift + 4 spacebar either
can use Terminal as well:
screencapture -l$(osascript -e 'tell app "Simulator" to id of window 1') screenshot.png
For some reason, I can't get the FloatingNameMode
setting to work anymore on Xcode 9.4
A solution I found by accident is the following: