run Http in webview local

hi, i have this problem. i need to use a webview to charge a file locally, to be more specific a file SCORM, like a mini web project. so i was making tests and the way to see all te content is in a http server. i mean if i click in the index.html of the file in my computer the page doesn't charge all the content, so i opened visual studio code and running Live Server thats provide me a project in http, well with that the project works. in android i'm make the example with something called WebViewAssetLoader, with that i can setup asset loader to handle local asset paths and override a WebView client, and if request is to local file, intercept and serve local. i want to know if in swift i have a way to intecept it a serve local

this is one of the a lot of ways that i was tried

and this is the example that works for me in android

Thanks for asking about the WKWebView. Can you provide more information about what you're trying to do? Can you explain more about what you're expecting a WKWebView will be able to do with the local files you are asking it to display?

its a app for watch courses, for now the courses Scorm can be watched online with a url thats the api provide me, but now the courses can be downloaded, the file its some like this for example ok, when i going to open the index.html the browser give this error in console

but when i open the file with a local server it works

in android when a made the test with the WebViewAssetLoader that allows me run the webView with other path it works too

in ios the path that i use is this "/Library/Developer/CoreSimulator/Devices/EABAD88B-9DED-4CA9-A575-A27E03D60CB5/data/Containers/Bundle/Application/D3AEB9A8-2AC2-4325-A7B0-1862B2224411/webViewScorm.app/scorm12isEazy_2/index.html" maybe for that the webview charges with background gray like the example when in web fails. for that reason i want to know if possible change the path or open the webview in a local server

run Http in webview local
 
 
Q