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 |
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.
- 11 properties
- property allowsAirPlayForMediaPlayback as Boolean
- property allowsInlineMediaPlayback as Boolean
- property allowsPictureInPictureMediaPlayback as Boolean
- property applicationNameForUserAgent as String
- property Handle as Integer
- property limitsNavigationsToAppBoundDomains as Boolean
- property mediaTypesRequiringUserActionForPlayback as Integer
- property Preferences as WKPreferencesMBS
- property suppressesIncrementalRendering as Boolean
- property upgradeKnownHostsToHTTPS as Boolean
- property userInterfaceDirectionPolicy as Integer
- 2 methods
- method Constructor(WKWebView as WKWebViewMBS)
- method copy as WKWebViewConfigurationMBS
- 6 constants
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:
- WKWebViewMBS.Configuration as WKWebViewConfigurationMBS
Blog Entries
- News from the MBS Xojo Plugins Version 23.3
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.3
- MBS Xojo Plugins, version 23.3pr6
- News from the MBS Xojo Plugins Version 20.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 20.1
- MBS Xojo Plugins, version 20.1pr4
Release notes
- Version 23.3
- Added allowsPictureInPictureMediaPlayback, allowsInlineMediaPlayback, upgradeKnownHostsToHTTPS and limitsNavigationsToAppBoundDomains properties to WKWebViewConfigurationMBS class.
- Version 20.1
- Added WKPreferencesMBS, WKWebViewConfigurationMBS and WKHTTPCookieStoreMBS classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
WKUserScriptMBS - WKWebViewMBS