WKSecurityRestrictionMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Security restriction modes for WebView content.
[ObjCRuntime.Native]
public enum WKSecurityRestrictionMode
[<ObjCRuntime.Native>]
type WKSecurityRestrictionMode =
- Inheritance
-
WKSecurityRestrictionMode
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | No additional security restrictions beyond WebKit defaults. |
| MaximizeCompatibility | 1 | Enhanced security protections optimized for maintaining web compatibility. Disables JIT compilation and enables increased MTE adoption. |
| Lockdown | 2 | Maximum security restrictions including feature disablement. Applied automatically by the system in Lockdown Mode. |