简体   繁体   English

如何以编程方式更改iPhone中的UIkeyboard语言?

[英]How to change the language of UIkeyboard in iphone Programmatically?

Is it possible to change the language of keyboard in iphone Programmatically? 是否可以通过编程方式更改iphone中的键盘语言? In my app, I want change the appearance of key board to Dutch language, how to do this? 在我的应用程序中,我想将键盘的外观更改为荷兰语,该怎么做?

its depend upon your phone settings. 它取决于您的手机设置。 There is no need of code. 不需要代码。 if your phone language id dutch then keyboard also shows dutch language. 如果您的电话语言ID为荷兰语,则键盘也会显示荷兰语。 but make sure that don't write kay board type UIkeyboardtypealphatebic , becoz if you write this then default english keyboard appears. 但是请确保不要编写凯板类型UIkeyboardtypealphatebic,因为如果编写此代码,则会出现默认的英文键盘。 So remove it from your code... 因此,将其从您的代码中删除...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM