WKWebViewPresenting
public protocol WKWebViewPresenting : AnyObject
This protocol represents an API which is capable of presenting a WKWebView.
-
The presenter delegate.
Declaration
Swift
var delegate: WebViewPresenterDelegate? { get set } -
webViewDelegateDefault implementationThe web view delegate.
Default Implementation
The web view delegate.
Declaration
Swift
var webViewDelegate: SAPWKNavigationDelegate? { get set } -
webViewUIDelegateDefault implementationThe web view ui delegate.
Default Implementation
The web ui view delegate.
Declaration
Swift
var webViewUIDelegate: SAPWKUIDelegate? { get set } -
Presents the web view and passes the instance in the completion handler.
Declaration
Swift
func presentWebView(completionHandler: @escaping (WKWebView?, Error?) -> Void) -
Dismisses the presented web view.
Declaration
Swift
func dismissWebView() -
reloadWebView()Default implementationReloads the presented webView
Default Implementation
Declaration
Swift
func reloadWebView()