shouldPrintBackgrounds property
getter/setter pair
A Boolean value that indicates whether to include any background color or graphics when printing content.
The default value is false.
Officially Supported Platforms/Implementations:
- iOS WKWebView 16.4+ (Official API - WKWebView.shouldPrintBackgrounds)
- macOS WKWebView 13.3+ (Official API - WKWebView.shouldPrintBackgrounds)
Implementation
bool? shouldPrintBackgrounds;