- Notifications
You must be signed in to change notification settings - Fork 548
WebKit macOS xcode26.0 b5
Alex Soto edited this page Aug 10, 2025 · 2 revisions
#WebKit.framework https://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/Library/Frameworks/WebKit.framework/Headers/WKWebView.h /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/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/Library/Frameworks/WebKit.framework/Headers/WKWebView.h 2025-07-17 03:15:32 +++ /Applications/Xcode_26.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebView.h 2025-07-30 02:22:26 @@ -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(26.0), ios(NA), 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