WKWebView
extension WKWebView: WarmableURL
-
Warms up only the WKWebView and its engine. But it does not prefetch a requests…
Declaration
Swift
public func warmUp() -
Warms up the WKWebView, its engine, and prefetches the requested URL using a URLRequest with a GET HTTP Request.
Declaration
Swift
public func warmUp(with url: URL)Parameters
urla valid URL to prefetch
-
Warms up the WKWebView, its engine, and prefetches the URLRequest
Declaration
Swift
public func warmUp(with urlRequest: URLRequest)Parameters
urlRequesta valid URL Request to prefetch
View on GitHub
WKWebView Extension Reference