Posts

Post not yet marked as solved
0 Replies
557 Views
Is it possible to register multiple URL schemes that are associated with different app ids for the same app. For example I have separate apps per environment of my application each with their own unique bundle id. E.Gcom.test.app-dev (testapp-dev://) com.test.app-qa (testapp-qa://) com.test.app (testapp://)If I want to launch the dev app from a url, I would use want to use testapp-dev://
Posted
by fergieee.
Last updated
.
Post not yet marked as solved
19 Replies
15k Views
Hi,I am loading a resource from a remote server and rendering its content in a WKWebView instance. I am configuring URLRequest object with a cachePolicy of .useProtocolCachePolicy and using the load(request:) method on the webview instance.The remote resource has a response header of Cache-Control: max-age=31536000. Yet the webview does not honour this cache policy. It always redownloads the remote resource.What other configurations are needed to ensure the resource is cached and persisted to disk for future cached loading? I see WKWebView uses a WKWebsiteDataStore object to persist cache. Is there something I need to configure there to get it to cahce correctly?Am I right in saying that WKWebView does not use the shared URLCache?Thanks!
Posted
by fergieee.
Last updated
.