Keyboard not shown under iOS 8

我们两清 提交于 2019-12-02 08:06:40

问题


When focus on my app's textfields, none of them can call out the keyboard, I cannot enter any letter. But before iOS 8 is okay.

I tried to rotate the screen and found that the keyboard is shown out bounds of the screen, checked the view frame, it's 1024 * 768, seems correct.


回答1:


Finally, find that it's simulator's issue, not iOS 8's bug.

Workaround:

iOS Simulator > Hardware > Keyboard > Toggle Software Keyboard

or just press Cmd + K

Yeah, I've connected a hardware keyboard via bluetooth, but didn't notice this keyboard toggle function until now. Seems Xcode 6 will use my hardware keyboard by default.




回答2:


Open Simulator.

Go to Hardware.

Then select Keyboard.

Then choose iOS Users Same Layout As OS X

Simulator -> Hardware -> Keyboard -> iOS Users Same Layout As OS X



来源:https://stackoverflow.com/questions/26012094/keyboard-not-shown-under-ios-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!