UIWebView is a very common view, commonly used to load Web pages, such as Baidu:
When you click on the text box, a keyboard with toolbar will pop up, with 3 secondary buttons in the toolbar
With these 3 buttons, is convenient many, but the default is English, sometimes we want to turn the button text into Chinese
In fact, the solution is very simple , just let your application support Chinese localization, meaning to create a new Chinese localization folder in the project Zh-hans.lproj
If you don't know much about localization, check out this article, "Application localization"
Below is a simple demonstration of the following steps:
1. Add Chinese localization support
2. Select a file to support localization, at least one (I have chosen here)
3. You will find one more folder in the project directory
Note that these 2 files already support Chinese localization.
4. Re-run the project, you will find that the button text has become Chinese
Let UIWebView pop up the button on the keyboard to display Chinese