开发者

Change Keyboard Language In iOS App When Click In UITextField

i tried many ways to change keyboard in ipad programmatically but it doesn't change at al开发者_运维百科l . i cant find any property in uitext for doing this.

any idea?


Unfortunately, you cannot control the language of the keyboard. The user chooses which keyboards they would like available via the settings application and can toggle between them using the globe icon on the keyboard. When the keyboard is opened it will open to the most recently used keyboard.

Here is what you need my friend,

[textView setKeyboardType:UIKeyboardTypeNumberPad];

[txtField setKeyboardType:UIKeyboardTypeNumberPad];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜