-
Notifications
You must be signed in to change notification settings - Fork 558
WebKit iOS xcode26.4 b2
Rolf Bjarne Kvinge edited this page Feb 27, 2026
·
1 revision
#WebKit.framework
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h 2025-11-19 08:35:05
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKPreferences.h 2026-02-16 08:02:53
@@ -98,6 +98,11 @@
*/
@property (nonatomic) WKInactiveSchedulingPolicy inactiveSchedulingPolicy API_AVAILABLE(macos(14.0), ios(17.0));
+/*! @abstract A Boolean value indicating whether LookToScroll is enabled.
+ @discussion The default value is `NO`.
+ */
+@property (nonatomic) BOOL isLookToScrollEnabled API_AVAILABLE(visionos(26.0)) API_UNAVAILABLE(macos, ios, macCatalyst, tvos, watchos);
+
@end
@interface WKPreferences (WKDeprecated)
@@ -108,12 +113,5 @@
#endif
@property (nonatomic) BOOL javaScriptEnabled API_DEPRECATED("Use WKWebpagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis", macos(10.10, 11.0), ios(8.0, 14.0));
-
-/*! @abstract A Boolean value indicating whether LookToScroll is enabled.
- @discussion The default value is `NO`.
- */
-
-@property (nonatomic) BOOL isLookToScrollEnabled API_AVAILABLE(visionos(NA)) API_UNAVAILABLE(macos, ios, macCatalyst, tvos, watchos);
-
@end
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h 2025-11-19 08:12:56
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h 2026-02-18 08:54:32
@@ -185,7 +185,7 @@
picture-in-picture.
@discussion The default value is YES.
*/
-@property (nonatomic) BOOL allowsPictureInPictureMediaPlayback API_AVAILABLE(ios(9_0));
+@property (nonatomic) BOOL allowsPictureInPictureMediaPlayback API_AVAILABLE(ios(9.0));
/*! @abstract An enum value indicating the type of data detection desired.
@discussion The default value is WKDataDetectorTypeNone.
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h 2025-11-19 07:21:04
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebpagePreferences.h 2026-02-18 10:25:17
@@ -58,6 +58,19 @@
WKWebpagePreferencesUpgradeToHTTPSPolicyErrorOnFailure
} NS_SWIFT_NAME(WKWebpagePreferences.UpgradeToHTTPSPolicy) API_AVAILABLE(macos(15.2), ios(18.2), visionos(2.2));
+/*!
+ @enum WKSecurityRestrictionMode
+ @abstract Security restriction modes for WebView content.
+ @constant WKSecurityRestrictionModeNone No additional security restrictions beyond WebKit defaults.
+ @constant WKSecurityRestrictionModeMaximizeCompatibility Enhanced security protections optimized for maintaining web compatibility. Disables JIT compilation and enables increased MTE adoption.
+ @constant WKSecurityRestrictionModeLockdown Maximum security restrictions including feature disablement. Applied automatically by the system in Lockdown Mode.
+ */
+typedef NS_ENUM(NSInteger, WKSecurityRestrictionMode) {
+ WKSecurityRestrictionModeNone,
+ WKSecurityRestrictionModeMaximizeCompatibility,
+ WKSecurityRestrictionModeLockdown
+} API_AVAILABLE(macos(NA), ios(26.4), visionos(NA));
+
/*! A WKWebpagePreferences object is a collection of properties that
determine the preferences to use when loading and rendering a page.
@discussion Contains properties used to determine webpage preferences.
@@ -102,5 +115,17 @@
supercedes this policy for known hosts.
*/
@property (nonatomic) WKWebpagePreferencesUpgradeToHTTPSPolicy preferredHTTPSNavigationPolicy API_AVAILABLE(macos(15.2), ios(18.2), visionos(2.2));
+
+/*! @abstract Security restriction mode for this navigation.
+ @discussion Security restriction modes provide different levels of security hardening for high-risk browsing contexts.
+ WKSecurityRestrictionModeMaximizeCompatibility provides additional hardening while maintaining full web compatibility:
+ - JavaScript JIT compilation disabled (interpreter-only execution)
+ - Increased Memory Tagging Extension (MTE) coverage across allocations in the WebContent process
+ Setting a security restriction mode creates separate, isolated WebContent processes for the specified protection level.
+ This preference only applies to main frame navigations and will be ignored for subframe navigations. When set for a main frame, all subframe content and opened windows inherit the same security restrictions.
+ When the system has chosen WKSecurityRestrictionModeLockdown (e.g., in Lockdown Mode), attempts to set a less restrictive mode will fail silently.
+ The default value is WKSecurityRestrictionModeNone.
+ */
+@property (nonatomic) WKSecurityRestrictionMode securityRestrictionMode API_AVAILABLE(macos(NA), ios(26.4), visionos(NA));
@end
diff -ruN /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h
--- /Applications/Xcode_26.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h 2025-11-19 08:35:05
+++ /Applications/Xcode_26.4.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebsiteDataRecord.h 2026-02-18 08:37:40
@@ -39,7 +39,7 @@
WK_EXTERN NSString * const WKWebsiteDataTypeMemoryCache API_AVAILABLE(macos(10.11), ios(9.0));
/*! @constant WKWebsiteDataTypeOfflineWebApplicationCache HTML offline web application caches. */
-WK_EXTERN NSString * const WKWebsiteDataTypeOfflineWebApplicationCache API_DEPRECATED("WebApplicationCache is no longer supported", macos(10.11, NA), ios(9.0, 26.2));
+WK_EXTERN NSString * const WKWebsiteDataTypeOfflineWebApplicationCache API_DEPRECATED("WebApplicationCache is no longer supported", macos(10.11, 26.2), ios(9.0, 26.2));
/*! @constant WKWebsiteDataTypeCookies Cookies. */
WK_EXTERN NSString * const WKWebsiteDataTypeCookies API_AVAILABLE(macos(10.11), ios(9.0));