I have a WKWebView that reads a local html file and then I want to proceed by using various javascript functions.
Everything works fine until a javascript tries to fetch a JSON file from the net, then nothing happens.
If I try to fetch the JSON file from my iOS code everything works fine.
I suspect this has something to do with the sandbox for the local files because when I move my files to a web server everything works fine also from javascript.
This is a showstopper for my project so I would greatly appreciate any help how to solve this.
Thanks.