UIKeyboard not appearing when tapping on UITextField

42,986

Solution 1

Following will fix the keyboard issue

Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard should solve this problem.

![Simulator->Hardware->Keyboard->Toggle Software Keyboard]

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

Share:
42,986
Admin
Author by

Admin

Updated on July 09, 2022

Comments

  • Admin
    Admin almost 2 years

    This is the Signup VC ,as Tapping pops the white space Not the KeyBoardThis is the login VC ,as Tapping pops the white space Not the KeyBoard

    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
    Admin about 10 years
    NO ,As user Interaction is Enabled and white space is poping instead of keyboard
  • Admin
    Admin about 10 years
    NO help with the second option
  • Admin
    Admin about 10 years
    Thanks for the help,restarting the Mac fixed the problem ...@aiden
  • MitchellTR
    MitchellTR over 9 years
    I'm glad to have found this suggestion but I'm not thrilled that I spent my night on this problem.
  • spstanley
    spstanley over 9 years
    I tried "Toggle Software Keyboard" and the keyboard appeared for me.
  • alper_k
    alper_k over 9 years
    what kind of sorcery is this? :)
  • earnshavian
    earnshavian over 9 years
    Ugh. Must have caught command shift k by accident and spent an hour trying to figure out why my keyboard wasn't appearing! Thanks.
  • Miroslav
    Miroslav about 8 years
    Note that it works only at the runtime moment when the keyboard is supposed to appear.