Load local js and css file with online request url WKWebView iOS Swift

Thanks in Advance I'm requesting a url with WKWebView, but i want to load local javascript, css & images if stored in bundle. i am not finding any function which is loading local files with online request. Please suggest any solution if anybody knows.

i have a smilar requiement to. I am trying to load a https webrequest and want to load some js and css resources from local bundle. i have implemented custom scheme for these urls but wkwebview seems t be blocking this. The error is as below


The secuere page at (htts url) is blocking unsecure load (custom scheme url).


However, custom schemes are working for img resources but not for css,js files.


If some knows a soln for this, kindly let. us know

Load local js and css file with online request url WKWebView iOS Swift
 
 
Q