Input text doesn't show keyboard on iOS simulator

后端 未结 2 389
遥遥无期
遥遥无期 2021-01-01 08:23

I\'m building an app and I need to use an input text.

The problem comes when you tap on this input text, the keyboard doesn\'t appear.

I don\'t know why, I d

相关标签:
2条回答
  • 2021-01-01 08:55

    I assume you are running this on the iOS simulator? Turn off the host machine's hardware keyboard integration by unchecking Hardware > Keyboard > Connect Hardware Keyboard, or you can use the Keyboard Shortcut: Shift + Cmd + K, and the keyboard will appear when you focus on a TextInput.

    You can also manually toggle the software keyboard visibility with Cmd +K.

    On a real device the keyboard should work out-of-the-box as expected.

    0 讨论(0)
  • 2021-01-01 09:02

    If the keyboard is not popping on clicking of TextInput then just tap on device means simulator and press cmd + k. After that, it will be showing every time you tap on the TextInput

    0 讨论(0)
提交回复
热议问题