- Notifications
You must be signed in to change notification settings - Fork548
WebKit MacCatalyst xcode26.0 b5
Alex Soto edited this pageAug 10, 2025 ·2 revisions
#WebKit.frameworkhttps://github.com/dotnet/macios/pull/23537
diff -ruN /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h--- /Applications/Xcode_26.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h2025-07-17 03:12:10+++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h2025-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