键盘未在iOS 8下显示 [英] Keyboard not shown under iOS 8
问题描述
当专注于我的应用程序的文本字段时,他们都没有可以调出键盘,我不能输入任何字母。但在iOS 8之前还可以。
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.
我试图旋转屏幕,发现键盘显示出屏幕边界,检查了视图框,它是1024 * 768 ,似乎是正确的。
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.
推荐答案
最后,发现它是模拟器的问题,而不是iOS 8的错误。
Finally, find that it's simulator's issue, not iOS 8's bug.
iOS模拟器>硬件>键盘>切换软件键盘
iOS Simulator > Hardware > Keyboard > Toggle Software Keyboard
或者只需按 Cmd + K
是的,我已通过蓝牙连接硬件键盘,但直到现在才注意到这个键盘切换功能。似乎Xcode 6默认使用我的硬件键盘。
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.
这篇关于键盘未在iOS 8下显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!