Missing keyboard on iOS8 simulator?

2019-03-17 02:30发布

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条回答
疯言疯语
2楼-- · 2019-03-17 02:56

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

查看更多
我欲成王,谁敢阻挡
3楼-- · 2019-03-17 03:02

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.

查看更多
4楼-- · 2019-03-17 03:03

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 :)

查看更多
ら.Afraid
5楼-- · 2019-03-17 03:17

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

查看更多
登录 后发表回答