WKWebView does not support caching, does not support interaction with js, and is not recommended. If you simply want to improve the speed of loading js, or there is no other use for it, generally you should use the system’s native secondary packaging~
The reason is that WKWebView does not allow loading HTML files in the local root directory through the loadRequest method. The following method has been added to the iOS9 SDK to load local HTML files:
. . . I just solved this problem too
If the real phone is 8.3, the display will be blank
My own phone is 9.2 and there is no problem
WKWebView does not support caching, does not support interaction with js, and is not recommended. If you simply want to improve the speed of loading js, or there is no other use for it, generally you should use the system’s native secondary packaging~
How about trying this: UIWebview, seamless switching of WKWebview
Is it true that some proxy methods do not allow secondary jumps and redirects?
The reason is that WKWebView does not allow loading HTML files in the local root directory through the loadRequest method.
The following method has been added to the iOS9 SDK to load local HTML files:
http://www.jianshu.com/p/ccb4...