iPhone Simulator - Hardware / Software Keyboard Toggle
The Simulator is an important part of developing iOS applications. Most applications need to communicate through a keyboard. When you are in the simulator, you can use the soft keyboard or the hardware keyboard. I personally prefer to use the hardware keyboard. However, when I am nearing the end of a feature, I like to use the soft keyboards and have an iPhone experience before I move to the phone.
Here are some shortcut keys you will find regarding the keyboard.
Command ⌘
+Shift
+K
- toggle hardware keyboard connectionCommand ⌘
+K
- toggle software keyboard
In addition you can use the navigation menu of The Simulator as follows.
IO
>Keyboard
>Connect Hardware Keyboard
IO
>Keyboard
>Toggle Software Keyboard
For example, if you find your soft keyboard (keyboard on devise) missing you can press CMD
+ K
to show it. Repeating the sequence again will will hide it. Make sure you use it when you are on The Simulator and not on XCode.
About the Author
Ziyan Junaideen -
Ziyan is an expert Ruby on Rails web developer with 8 years of experience specializing in SaaS applications. He spends his free time he writes blogs, drawing on his iPad, shoots photos.