The iOS APP built-in WKWebView loads the web page to obtain the location permission and the pop-up text is in English

Use WKWebView to load the webpage, get the location permission on the webpage, select the album pop-up box to display English, as shown in the figure:

Web page selection album

 

Web page to get current location

English appears because the project is not localized. You only need to add Localized resources can be mixed in the info.plist with a value of YES. If the simulator sees the effect, you need to set the simulator system language to Simplified Chinese

 Add the value to see the effect

 

 

Guess you like

Origin blog.csdn.net/smile82475/article/details/124845744