Platforms to show: All Mac Windows Linux Cross-Platform
Back to WKWebViewConfigurationMBS class.
WKWebViewConfigurationMBS.allowsAirPlayForMediaPlayback as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is true.
(Read and Write property)
WKWebViewConfigurationMBS.allowsInlineMediaPlayback as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 23.3 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
Set this property to true to play videos inline, or false to use the native full-screen controller. When adding a video element to an HTML document on iPhone, you must also include the playsinline attribute.
The default value of this property is false for iPhone and true for iPad.
(Read and Write property)
WKWebViewConfigurationMBS.allowsPictureInPictureMediaPlayback as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 23.3 | ❌ No | ❌ No | ❌ No | ✅ Yes | iOS only |
The default value of this property is true.
(Read and Write property)
WKWebViewConfigurationMBS.applicationNameForUserAgent as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
WKWebViewConfigurationMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read only property)
WKWebViewConfigurationMBS.limitsNavigationsToAppBoundDomains as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 23.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Requires macOS 11.0 or newer.
(Read and Write property)
WKWebViewConfigurationMBS.mediaTypesRequiringUserActionForPlayback as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use AudiovisualMediaTypeNone to indicate that no user gestures are required to begin playing media.
(Read and Write property)
WKWebViewConfigurationMBS.Preferences as WKPreferencesMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
(Read and Write property)
WKWebViewConfigurationMBS.suppressesIncrementalRendering as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is false.
(Read and Write property)
WKWebViewConfigurationMBS.upgradeKnownHostsToHTTPS as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 23.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Requires macOS 11.3 or newer.
(Read and Write property)
WKWebViewConfigurationMBS.userInterfaceDirectionPolicy as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | WebKit2 | MBS Mac64bit Plugin | 20.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The default value is serInterfaceDirectionPolicyContent. For other possible values, see constants.
Available on MacOS 10.12 or newer.
The policy used to determine the directionality of user interface elements in a web view.
When UserInterfaceDirectionPolicyContent is specified, the directionality of user interface elements is affected by the dir attribute or the direction CSS property. When UserInterfaceDirectionPolicySystem is specified, the directionality of user interface elements is affected by the direction of the view.
(Read and Write property)
The items on this page are in the following plugins: MBS Mac64bit Plugin.