2019-06-09 13:56:34.109342+0800 pratiseuitextfield[9242:453616] libMobileGestalt MobileGestalt.c:890: MGIsDeviceOneOfType is not supported on this platform.\
pratiseuitextfield[9242:453616] Can't find keyplane that supports type 4 for keyboard iPhone-PortraitChoco-NumberPad; using 20603_PortraitChoco_iPhone-Simple-Pad_Default
真机上运行的,打开模拟器第一次是可以弹出键盘,但弹出后第二次就不行了
点击模拟器上面的菜单:Hardware->Keyboard->ConnectHardware Keyboard这一项不要勾选,我们的键盘就能正常显示了,但是我们发现这样电脑的键盘就不能用了,所以要不要勾选还看自己的习惯了,没有自定义键盘什么的不弹出也不会影响真机测试。
https://blog.csdn.net/cool_bear_xx/article/details/51692512
检查你的keyboardType是不是使用错了类型,修改一下keyboardType试试。