AnsweredAssumed Answered

MapServer does not load from WKWebView but works in both UIWebView and Safari

Question asked by hector.meneses.rba on Jul 10, 2020
Latest reply on Aug 12, 2020 by kasperkimose

Hi,

I have an application that needs to use WKWebView to display a map. This is a requirement from Apple as UIWebView will be deprecated by the end of this year.

 

In both UIWebView and Safari, the website with a map gets displayed correctly  but in the WKWebView the following call generates an error:

https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json 

 

"An error occurred trying to load the resource".

 

As result, the map is never displayed.

 

Has anyone experienced this issue?

 

Thanks!

Outcomes