51
votes

I'm checking my app against iOS8 in the simulator and one thing that puzzles me is that when I tap on a UITextField or UITextView the keyboard doesn't appear on the screen! I can still enter text with my hardware keyboard. Also, if the input element has a inputAccessoryView, that view is shown on the bottom of the screen. So everything works as expected except that the keyboard is not appearing on the screen. This is valid for all input elements throughout the app. I don't use the new feature for custom keyboard.

Checked the Settings - don't see anything that can help.

I know XCode6 is still a beta but this seems too obvious problem to be a bug (or is it!?)

4

4 Answers

121
votes

In the iOS Simulator menu select:

Hardware > Keyboard > Toggle Software Keyboard

or press Cmd + K.

The Connect Hardware Keyboard option in the same menu has to be enabled.

6
votes

This seems to be bug in iOS 8. There are two fix to this problem:

  1. Toggle between simulator keyboard and MacBook keyboard using [Command+K] shortcut key.

  2. Reattach keyboard to simulator:

    a. Open Simulator

    b. Select Hardware -> Keyboard

    c. Uncheck and then check 'Connect Hardware Keyboard'

Screenshot for step 2

OR simply press [Shift + Command + K] shortcut key

2
votes

i had the same issue and i resolved by doing following steps

1) Select the iOS Simulator

2) Goto Hardware in menu (top Left)

3) Select Keyboard

4) Uncheck the "Connect Hardware Keyboard" option

Happy Coding :)

0
votes

I highly recommend to disable "Slow Animations" which can be found under "Debug" -> "Slow Animations".

For me, that permanently fixes the issue.

Shortcut is: CMD + T