UIKeyboard not appearing when tapping on UITextField
Solution 1
Following will fix the keyboard issue
Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard should solve this problem.
Solution 2
Try this:
Goto:
iOS Simulator -> Hardware -> Keyboard
And Uncheck
'Connect Hardware Keyboard'
Or simply do: ⇧ shift + ⌘ Command + K
Keep Coding......... :)
Solution 3
This can also happen with Xcode 6/iOS 8 because of simulator settings:
Xcode 6: Keyboard does not show up in simulator
Solution 4
I've got the same problem but only on 5s simulator. And, I tried to go to simulator->reset content and settings. That actually solved the problem.
Solution 5
Also make sure you aren't messing with yourTextField.inputView
Admin
Updated on July 09, 2022Comments
-
Admin almost 2 years
I had been into a weird problem, As every other thing is working fine. All of sudden when I compile my application and got this problem, when I tapped on the
UITextField
white space is popping up, but the keyboard is not visible and I am not able to enter anything. -
Admin about 10 yearsNO ,As user Interaction is Enabled and white space is poping instead of keyboard
-
Admin about 10 yearsNO help with the second option
-
Admin about 10 yearsThanks for the help,restarting the Mac fixed the problem ...@aiden
-
MitchellTR over 9 yearsI'm glad to have found this suggestion but I'm not thrilled that I spent my night on this problem.
-
spstanley over 9 yearsI tried "Toggle Software Keyboard" and the keyboard appeared for me.
-
alper_k over 9 yearswhat kind of sorcery is this? :)
-
earnshavian over 9 yearsUgh. Must have caught command shift k by accident and spent an hour trying to figure out why my keyboard wasn't appearing! Thanks.
-
Miroslav about 8 yearsNote that it works only at the runtime moment when the keyboard is supposed to appear.