underPageBackgroundColor property
The color the web view displays behind the active page, visible when the user scrolls beyond the bounds of the page.
The web view derives the default value of this property from the content of the page,
using the background colors of the <html>
and <body>
elements with the background color of the web view.
To override the default color, set this property to a new color.
Officially Supported Platforms/Implementations:
- iOS 15.0+ (Official API - WKWebView.underPageBackgroundColor)
- MacOS 12.0+ (Official API - WKWebView.underPageBackgroundColor)
Implementation
Color? underPageBackgroundColor;