Post

Replies

Boosts

Views

Activity

WKWebview - local resource support for online web pages
Can I know is there any option in WKWebview that can load the dynamic part from the web and the static content like CSS, JS and images from the local assets for better performance and less data usage? This has been archived in UIWebView via URL protocol but here the hooks are not supporting to replace its internal resources to be pointed to local assets Example page: www.example.com its contain a resource www.example.com/ static/log.png expected to be refer from local path path file://<local app path>/assets/static/logo.png instead online Problem: Taking much time to load pages & resources and using much network data, etc Can you please suggest?
1
0
660
Feb ’21