在我的应用程序中点击UITextField时,UIKeyboard没有出现

时间:2018-09-10 11:17:19

标签: ios swift xcode swift4.1

在我的应用中,我有一些UITextFeilds,但是当我运行我的应用并尝试编写时,看不到键盘。

enter image description here

我尝试了this的答案,但是可能我的xcode版本与那里的不同,我使用的是xcode9。

enter image description here

2 个答案:

答案 0 :(得分:0)

单击模拟器,仅在顶部菜单上查看即可:-

Hardware -> keyboard -> Toggle Software Keyboard

答案 1 :(得分:0)

切换软件键盘在 Simulator 应用程序中,点击: Cmd + K

或转到硬件菜单(在模拟器应用中):

Hardware menu

并选择键盘,然后选择切换软件键盘

enter image description here