I just installed Xcode and iOS Simulator.
My Mac's Dvorak keyboard layout is not working when I type in the iOS Simulator.
When I type in Dvorak, it shows up in the iOS Simulator as if I was typing with the QWERTY keyboard layout.
I tried switching my Mac's keyboard layout back and forth but it didn't help.
Open Settings, followed by “General” and then go to “Keyboard” Tap on “English”, then scroll down to the “Hardware Keyboard Layout” section, and choose “Dvorak” or another hardware layout option.
The problem lay in coordinating the switch. QWERTY had been the universal layout since before August Dvorak was born. Most typists trained on it. Any employer investing in a costly typewriter would naturally choose the layout that most typists could use.
Solution
There are two conditions required for simulating Dvorak input on the iOS simulator.
(short version)
(long version)
To verify:
Why this Behavior
(long version)
After some investigation I have found that the answer to this question is that the simulated DVORAK keyboard is working exactly as intended. Only software keyboards can appear in the simulator or on the device. Dvorak is listed as a hardware keyboard, which means that when the correct option is selected one can type using the same keyboard layout as on a Dvorak keyboard.
Software Keyboard Selections (Dvorak is not an option)
Scroll to the bottom to see Dvorak
Dvorak Hardware Keyboard Support
Selecting "Simulate Hardware Keyboard" allows anyone who wants to simulate a Dvorak keyboard or has Dvorak layout on their computer (in combination with the iOS uses Same Keyboard Layout as OSX option) to type into the simulator using the Dvorak keyboard layout. However there is no software keyboard layout for Dvorak as noted above. Therefore, when this option is selected, the onscreen software keyboard is removed if one goes to a field to type in data (no Dvorak software keyboard is supported) in the simulator.
Based on the assertion that the keyboard shows up as QWERTY layout then one can assume that the Simulate Hardware Keyboard is not currently selected. Selecting this option will turn on support for a simulated hardware Dvorak keyboard layout and allow one to type in the Dvorak layout.
When the above option is enabled the software keyboard will not be shown in the simulator at all. However the Dvorak layout is now active (if one selected Dvorak under the Hardware Keyboard Layout in the Settings > General > Keyboard area).
Apple's Explanation iOS: Using International Keyboards
Activating Dvorak is a hardware keyboard simulation only.
Conclusion
The result of this test indicates that Dvorak is NOT a supported Software Keyboard. The selected software keyboards will always be shown. However the Dvorak hardware keyboard layout is supported. When Dvorak is selected as an hardware keyboard layout option on the simulator or device the output will be Dvorak.
For me (Simulator Version 7.0 (463.9.4.2)) as long as the correct hardware keyboard layout is selected, I do not need to enable "Simulate Hardware Keyboard".
Dvorak keyboard works perfectly once I go into the settings app and choose that as the hardware layout.
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