WKwebview loadFileURL: allowingReadAccessToURL: not working IOS 15 beta 2 and beta 3

I have been trying to load assets and HTML file from a folder path on iPhone on WKWebView using

[self.webView loadFileURL:URL allowingReadAccessToURL:folderURL];

The html file is loading but assets are not being loaded. This is working fine on 14.6 and below. I have encountered this issue mainly on IOS 15 beta versions 2 and 3. Can I get any help on this??

WKwebview loadFileURL: allowingReadAccessToURL: not working IOS 15 beta 2 and beta 3
 
 
Q