Skip to content

WebKit iOS xcode26.0 b5

Alex Soto edited this page Aug 5, 2025 · 1 revision

#WebKit.framework

diff -ruN /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h
--- /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h	2025-07-17 03:12:10
+++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h	2025-07-31 03:12:23
@@ -701,6 +701,21 @@
  */
 - (void)restoreData:(NSData *)data completionHandler:(WK_SWIFT_UI_ACTOR void(^)(NSError * _Nullable error))completionHandler NS_SWIFT_NAME(restoreData(_:completionHandler:)) API_AVAILABLE(macos(NA), ios(26.0), visionos(NA));
 
+/*! @abstract Edge insets on all sides, relative to the web view's coordinate space, which shrink
+ * the bounds of the layout viewport. Obscured content areas (that is, parts of the web view that
+ * overlap with obscured content insets) should be covered by UI elements managed by the client,
+ * such as a navigation bar or buttons. The web view automatically adjusts how fixed and sticky
+ * elements are rendered near edges with non-zero obscured insets, to ensure compatibility and
+ * legibility.
+ *
+ * All edge insets must be non-negative. Defaults to 0 on all sides.
+ */
+#if TARGET_OS_OSX
+@property (nonatomic) NSEdgeInsets obscuredContentInsets API_AVAILABLE(macos(26.0));
+#else
+@property (nonatomic) UIEdgeInsets obscuredContentInsets API_AVAILABLE(ios(26.0), visionos(26.0));
+#endif
+
 @end
 
 #if !TARGET_OS_IPHONE
Clone this wiki locally