Passing geolocation fetched from the app to the UIWebView

后端 未结 2 1438
情话喂你
情话喂你 2021-01-07 10:11

I\'m developing the iOS app and in one of the views I would like to include UIWebView with a page that contains a map (the address is: https://carsharing.mvg-mobil.de). The

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-07 10:41

    You can call JavaScript on the page with UIWebView's

     stringByEvaluatingJavaScriptFromString:(NSString *)script
    

提交回复
热议问题