Seems like the iOS simulator added a new ToolBar, which I am unable to hide.
Is there any shortcut to hide it?
Tap in a text field. Tap the "hide keyboard" button in bottom-right corner. Tap to another text field.
You can show touch indicators in the iOS simulator by opening Terminal and running defaults write com. apple. iphonesimulator ShowSingleTouches 1 . You can turn this setting off again by running defaults write com.
When in the simulator, hold the option key down and click - this will simulate a two-finger tap!
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
While you won't be able to hide the toolbar, I discovered a solution that worked very well for me and doesn't involve changing user defaults (which didn't work for me).
With the Simulator window open, open up the Screenshot application. On the floating utility bar, there will be an option for "Capture Selected Window".
Click on this, and it will turn your mouse cursor into a camera. Hover over the widow you want to take a screenshot of (Simulator in this case) and alt + click.
This will save a screenshot with no drop shadow, which you can easily crop in Preview or any other imaging editing software in order to remove the bar at the top.
It will have a transparent background so it will be very easy to work with.
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