Available on crate feature webview only.
Expand description

Wraps WKWebView across all platforms.

Wraps a number of different classes/delegates/controllers into one useful interface. This encompasses…

  • WKWebView
  • WKUIDelegate
  • WKScriptMessageHandler

This is, thankfully, a pretty similar class across platforms.

WebView is not available for tvOS

Apple does not ship WKWebView on tvOS, and as a result this control is not provided on that platform.

Structs

A wrapper for WKWebViewConfiguration. Holds (retains) pointers for the Objective-C runtime where everything lives.

Enums

Dictates where a given user script should be injected.

Describes the policy for a given navigation.

Describes a response policy for a given navigation.

Describes a navigation type from within the WebView.

Traits

You can implement this on structs to handle callbacks from the underlying WKWebView.