How to change iOS device keyboard to specific language

北城以北 提交于 2019-12-31 02:58:19

问题


In iOS, the developer can get the current device language and locale. However, what if we want to set the keyboard to a specific language/locale, based on the users' preferences, when they are in different parts of our app? In my app, there are multiple languages, and I want the user to be presented with the Arabic keyboard, for example, when they are in the Arabic section, and the Russian keyboard, for example, when they are in the Russian section. How is it possible to pull this off?


回答1:


This capability is not in the API. You'll have to build your own custom keyboard



来源:https://stackoverflow.com/questions/5073254/how-to-change-ios-device-keyboard-to-specific-language

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