preferredContentMode property
getter/setter pair
Sets the content mode that the WebView needs to use when loading and rendering a webpage. The default value is UserPreferredContentMode.RECOMMENDED.
Officially Supported Platforms/Implementations:
- Android WebView
- iOS WKWebView 13.0+ (Official API - WKWebpagePreferences.preferredContentMode)
- macOS WKWebView 10.15+ (Official API - WKWebpagePreferences.preferredContentMode)
Implementation
UserPreferredContentMode? preferredContentMode;