The system keyboard cannot be displayed in the input content of the ios simulator in xcode7.
The input content of the ios simulator in xcode7 cannot be entered by the system keyboard, but can only be entered by the computer keyboard, which may cause trouble for debugging.
In fact, ios simulators in xcode7 can only use one type by default, either the simulator system keyboard or the computer keyboard. The setting method is as follows:
Open the menu bar of the ios simulator: Hardware --> Keyboard. Three options are displayed: Uses the Same Layout as OS X, Connect Hardware Keyboard, and Toggle Software Keyboard. Uses the Same Layout as OS X Uses the operating system Layout, Connect Hardware Keyboard Uses an external Keyboard, and Toggle Software Keyboard switches to the ios system Keyboard (which can be called out or hidden ).
The situation is as follows:
1. in whatever circumstances, you can select Toggle Software Keyboard (shortcut key Command + K) to bring up or hide the input content on the ios system Keyboard.
2. Uses the Same Layout as OS X and Connect Hardware Keyboard are not selected. the ios simulator calls the ios system Keyboard by default. In this case, ios cannot respond to the external Keyboard operation.
3. Only Uses the Same Layout as OS X is selected. the ios simulator calls the ios system keyboard by default. In this case, the External keyboard operation cannot be responded.
4. Only Connect Hardware Keyboard is selected. The ios simulator calls the External Keyboard by default. Call up the ios keyboard through the shortcut key Command + K. In this case, ios can respond both to the external keyboard and to the ios keyboard.
5. Select both Uses the Same Layout as OS X and Connect Hardware Keyboard. the ios simulator calls the External Keyboard by default. Call up the ios keyboard through the shortcut key Command + K. In this case, ios can respond both to the external keyboard and to the ios keyboard.