项目开发过程中,你会发现UITextView或者UIWebView中长按弹出的复制、选择菜单,还有调用摄像头的一些文字默认为英文,怎么将他设置为中文呢?带着这个问题我们来一起学习一下:
一.修改Info.plist
在info.plist文件(即项目的info选项)中设置Localization native development region的字段该字段默认为en即英文,改为china即可将该app内的软件设为中文

如果第一步无效,请继续看第二步
二.Localizations添加语言包
project ——> Info ——> Localizations中添加语言包才可以

网友评论