使用WKWebView加载网页,网页上获取位置权限、选择相册弹出框显示英文,如图:
网页选择相册

出现英文是因为项目没有本地化,只需要在info.plist里面添加Localized resources can be mixed 值为YES,如果模拟器看效果需要设置模拟器系统语言为简体中文

使用WKWebView加载网页,网页上获取位置权限、选择相册弹出框显示英文,如图:
网页选择相册
出现英文是因为项目没有本地化,只需要在info.plist里面添加Localized resources can be mixed 值为YES,如果模拟器看效果需要设置模拟器系统语言为简体中文
本文标题:iOS wkwebview获取权限提示文字为英文
本文链接:https://www.haomeiwen.com/subject/ckxaxdtx.html
网友评论