iOS version < 13 load the local cache exception

Hi!

My project has a requirement:

The WKWebView JS and CSS files load the local cache, while the data is fetched from the server. When I was in a "- (void) webView: (WKWebView *) webView startURLSchemeTask: (id < WKURLSchemeTask >) urlSchemeTask" to intercept requests and access to the cache executed

[urlSchemeTask didReceiveResponse: response];

[urlSchemeTask didReceiveData: data];

[urlSchemeTask didFinish]; In the iOS version < 13 OS no response, and can't display the web content, log "output Could not signal service com. Apple. Its the WebContent: 113: Could not find specified service", but on iOS13 mobile phone can display properly. What's going on here? What should I do?

Interesting, do you happen to have the a snippet of the logs your are seeing?



Matt Eaton

DTS Engineering, CoreOS

meaton3 at apple.com

iOS version &lt; 13 load the local cache exception
 
 
Q