'Fetch list of API, CSS, Images loaded in WKWebview

I am writing iOS native app (uses WKWebview) which can list the contents of css, images, and API calls made in the webpage.

I am able to get the API calls using this link.

Now, trying to get the list of css and image asset files (So that i can know if any errors are thrown).

Any help would be great. Thanks..



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source