Platforms to show: All Mac Windows Linux Cross-Platform

WKWebViewConfigurationMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class WebKit2 MBS Mac64bit Plugin 20.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
A collection of properties used to initialize a web view.

Using the WKWebViewConfiguration class, you can determine how soon a webpage is rendered, how media playback is handled, the granularity of items that the user can select, and many other options.
WKWebViewConfiguration is only used when a web view is first initialized. You cannot use this class to change the web view's configuration after it has been created.

Audiovisual Media Types

Constant Value Description
AudiovisualMediaTypeAll -1 All media types require a user gesture to begin playing.
AudiovisualMediaTypeAudio 1 Media types containing audio require a user gesture to begin playing.
AudiovisualMediaTypeNone 0 No media types require a user gesture to begin playing.
AudiovisualMediaTypeVideo 2 Media types containing video require a user gesture to begin playing.

User Interface Direction Policy

Constant Value Description
UserInterfaceDirectionPolicyContent 0 The directionality follows the CSS/HTML/XHTML specifications. This is the default value of userInterfaceDirectionPolicy.
UserInterfaceDirectionPolicySystem 1 The directionality follows the view's userInterfaceLayoutDirection property

This class has no sub classes.

Some properties using for this class:

Blog Entries

Release notes

The items on this page are in the following plugins: MBS Mac64bit Plugin.

WKUserScriptMBS   -   WKWebViewMBS

💬 Ask a question or report a problem
The biggest plugin in space...