I have tried to reset the simulator, to change the keyboard input settings, to rotate the simulator, but it did not change anything.
The grey bar covers my ui so that the simulator is not usable.
XCode version: 7.1 (7B91b) Simulator version: 9.1 (SimulatorApp-635.5)
To hide this bar you need to go into the Settings.app within the simulator (tap the gears icon on the home screen), then General->Keyboard, and turn off the 'Shortcuts' toggle.
I have this issue in my app constantly, and cannot for the life of me figure out why the bar is showing in the first place. The firstResponder
idea mentioned by James seems like a sensible place to start looking, but bizarrely this is appearing on every screen, no matter if it has a text field in it or not. Perhaps it is an Apple bug after all.
Handy hint... if you are looking for a way to set the Shortcuts keyboard option from the command line (eg. when doing https://github.com/fastlane/snapshot), the following command does the trick:
find ~/Library/Developer/CoreSimulator/Devices -path */data/Library/Preferences/com.apple.Preferences.plist | xargs -n 1 -I {} defaults write "{}" KeyboardAssistant -bool NO
(it finds all the Settings.app plists for all simulators and writes NO
into the KeyboardAssistant
key)
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