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

    The 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 implementation

    Reloads the presented webView

    Default Implementation

    Declaration

    Swift

    func reloadWebView()