upgradeKnownHostsToHTTPS property
getter/setter pair
A Boolean value indicating whether HTTP requests to servers known to support HTTPS should be automatically upgraded to HTTPS requests.
The default value is true.
Officially Supported Platforms/Implementations:
- iOS WKWebView 15.0+ (Official API - WKWebViewConfiguration.upgradeKnownHostsToHTTPS)
- macOS WKWebView 11.3+ (Official API - WKWebViewConfiguration.upgradeKnownHostsToHTTPS)
Implementation
bool? upgradeKnownHostsToHTTPS;