From 487058602f5ef7b8173ef9f21782b017de574b22 Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Sat, 9 Aug 2025 22:43:51 -0400 Subject: [PATCH] [WebKit] Update bindings to Xcode 26.0 Beta 5 --- src/webkit.cs | 4 ++++ .../api-annotations-dotnet/MacCatalyst-WebKit.todo | 2 -- tests/xtro-sharpie/api-annotations-dotnet/iOS-WebKit.todo | 2 -- tests/xtro-sharpie/api-annotations-dotnet/macOS-WebKit.todo | 2 -- 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-WebKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/iOS-WebKit.todo delete mode 100644 tests/xtro-sharpie/api-annotations-dotnet/macOS-WebKit.todo diff --git a/src/webkit.cs b/src/webkit.cs index 0eabde4e772c..dac449ede81a 100644 --- a/src/webkit.cs +++ b/src/webkit.cs @@ -6646,6 +6646,10 @@ interface WKWebView [Export ("restoreData:completionHandler:")] void RestoreData (NSData data, WKWebViewRestoreDataHandler completionHandler); + [Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0)] + [Export ("obscuredContentInsets", ArgumentSemantic.Assign)] + UIEdgeInsets ObscuredContentInsets { get; set; } + [Mac (26, 0), iOS (26, 0), MacCatalyst (26, 0)] [Export ("isBlockedByScreenTime")] bool IsBlockedByScreenTime { get; } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-WebKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-WebKit.todo deleted file mode 100644 index 4e21d9724161..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-WebKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! WKWebView::obscuredContentInsets not bound -!missing-selector! WKWebView::setObscuredContentInsets: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-WebKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-WebKit.todo deleted file mode 100644 index 4e21d9724161..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-WebKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! WKWebView::obscuredContentInsets not bound -!missing-selector! WKWebView::setObscuredContentInsets: not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-WebKit.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-WebKit.todo deleted file mode 100644 index 4e21d9724161..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-WebKit.todo +++ /dev/null @@ -1,2 +0,0 @@ -!missing-selector! WKWebView::obscuredContentInsets not bound -!missing-selector! WKWebView::setObscuredContentInsets: not bound