Unable to select Japanese keyboard in some applications

all!

I struggled with fixing one problem in one of the applications that we have been working on for a week, and I had no idea about the reasons and a possible solution. Could you help me, perhaps some of you have come across the same problem:

Initially, the problem was reported only in one project, but then I also tried to reproduce it in other applications - in some applications there were the same problems, in some of them everything worked correctly.

So the problem is:

  • open the application
  • select any text field
  • try choosing a Japanese keyboard (bearing in mind that the language has already been added in the iPhone settings)

Actual result: Japanese keyboard does not appear in the list of available keyboards in the application

Expected Result: The Japanese keyboard should be available in the list of available keyboards, and the user should be able to enter text in a text field in Japanese

I would really appreciate it if someone could share some additional knowledge. Or maybe ways to fix them if you encounter a similar problem.

Thank!

+4
source share
1 answer

This may be caused by the keyboard type of the text field.

Verify that the keyboard type is defaultanother or a suitable, non-ASCII compatible type.

textfield.keyboardType = default

The keyboard type for the text box or view can also be configured in Interface Builder.

See also:

0

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


All Articles