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 }
  • webViewDelegate Default implementation

    The web view delegate.

    Default Implementation

    The web view delegate.

    Declaration

    Swift

    var webViewDelegate: SAPWKNavigationDelegate? { 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 implementation

    Reloads the presented webView

    Default Implementation

    Declaration

    Swift

    func reloadWebView()