Keyboard not shown under iOS 8

2019-03-03 04:19发布

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.

2条回答
倾城 Initia
2楼-- · 2019-03-03 04:48

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

enter image description here

查看更多
放荡不羁爱自由
3楼-- · 2019-03-03 04:59

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.

查看更多
登录 后发表回答