WKWebView
extension WKWebView
-
Configure the web view’s cookie storage from the given SAPURLSession
Declaration
Swift
public func configure(with urlSession: SAPURLSession, completionHandler: @escaping () -> Void)
Parameters
urlSession
an SAPURLSession instance that contains the necessry cookies
completionHandler
closure called on completion