iPhone - Chinese and Japanese in UITextField
I want to make sure some code I've written works well with Chinese and Japanese characters. I tried changing the iPhone Simulator language to Chinese and Japanese, but it doe开发者_StackOverflow中文版sn't look like the character set for the UITextFields change. How do you do that?
I have come across the same (or similar) issue (chinese/japanese keyboards do not appear for UITextField
even though they are enabled in settings whilst others, such as french, do appear).
Eventually I discovered that I had set the KeyboardType
property to UIKeyboardTypeAlphabet
. Commenting out this line caused the non-latin keyboards to show as expected.
Go to Settings > General > International > Keyboards to enable the Japanese keyboard.
精彩评论