SAPUIWebViewDelegate

@available(*, deprecated, message: "Use SAPWKNavigationDelegate instead")
public protocol SAPUIWebViewDelegate : AnyObject

This protocol extends the UIWebViewDelegate with SAP specific functionality.

  • webView(_:handleFailedLoadWithError:) Default implementation

    This delegate method is called before calling the didFailLoadWithError delegate of the UIWebViewDelegate. The user can decide to ignore the error (calling the completionHandler with nil value) or supply a custom error which will be relayed to the delegate’s appropriate method.

    Default Implementation

    This delegate method is called before calling the didFailLoadWithError delegate of the UIWebViewDelegate. The user can decide to ignore the error (calling the completionHandler with nil value) or supply a custom error which will be relayed to the delegate’s appropriate method.

    Declaration

    Swift

    func webView(_ webView: UIWebView, handleFailedLoadWithError error: Error) -> Error?