开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜