How to open the default arabic keyboard in my iPhone app?

Is it possible to configure the default keyboard on the Arabic keyboard programmatically? I don’t want the user of my application to have to manually go to Settings> Keyboard> Arabic.

I want the Arabic keyboard to be the default in my iPhone app, is this doable?

0
source share
1 answer

Apple's Keyboard Management documentation says:

Keyboards and input methods

Whenever a user clicks on an object capable of accepting text input, the object asks the system to display the appropriate keyboard. Depending on the needs of your program and preferred language users, the system can display one of several keyboards. Although your application cannot control the user's preferred language (and therefore the keyboard input method), it can control the keyboard attributes indicating its intended use, for example, the configuration of any special keys and their behavior.

...

To facilitate the language preferences of different users, iOS also supports various input methods and keyboard layouts for different languages, some of which are shown in Figure 4-2. The input method and layout for the keyboard is determined by the user preference language. The input for some of these keyboards takes place in several stages.

So the short answer is: No, you cannot programmatically display a specific language on the keyboard.

+6
source

Source: https://habr.com/ru/post/908888/


All Articles