Number keypad with missing keys in ios9

随声附和 提交于 2019-12-12 16:50:56

问题


Does anyone know why an issue like this in iOS9 native Number Pad Occurs.

This only happens in one of the viewcontollers and in the rest it works fine.

I have set the textfield keyboard type from the interface builder and not via code.Please advice how to overcome this issue.

Edited:

ScreenShots from Interface builder,


回答1:


I had the same issue when configuring the keyboard type in Interface Builder.

The problem disappears if I set the keyboard type in my viewDidLoad method:

eanTF.keyboardType = .NumberPad 

EDIT: I've also set the Appareance to default (in Interface Builder) in the commit.



来源:https://stackoverflow.com/questions/33163790/number-keypad-with-missing-keys-in-ios9

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!