limitsNavigationsToAppBoundDomains property
getter/setter pair
A Boolean value that indicates whether the web view limits navigation to pages within the app’s domain.
Check App-Bound Domains for more details.
The default value is false.
Officially Supported Platforms/Implementations:
- iOS WKWebView 14.0+ (Official API - WKWebViewConfiguration.limitsNavigationsToAppBoundDomains)
- macOS WKWebView 11.0+ (Official API - WKWebViewConfiguration.limitsNavigationsToAppBoundDomains)
Implementation
bool? limitsNavigationsToAppBoundDomains;