Skip to content

SafariServices iOS xcode26.0 b1

Rolf Bjarne Kvinge edited this page Jul 22, 2025 · 2 revisions

#SafariServices.framework https://github.com/dotnet/macios/pull/23377

diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFError.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFError.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFError.h	2025-05-03 22:46:08
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFError.h	2025-05-31 01:22:39
@@ -14,4 +14,6 @@
     SFErrorNoExtensionFound = 1,
     SFErrorNoAttachmentFound = 2,
     SFErrorLoadingInterrupted = 3,
+    SFErrorInternalError = 4,
+    SFErrorMissingEntitlement = 5,
 } API_AVAILABLE(ios(10.0), macCatalyst(13.4));
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariSettings.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariSettings.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariSettings.h	1969-12-31 19:00:00
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariSettings.h	2025-05-31 01:22:39
@@ -0,0 +1,21 @@
+// Copyright © 2025 Apple Inc. All rights reserved.
+
+
+#import <Foundation/Foundation.h>
+#import <SafariServices/SFFoundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+NS_SWIFT_SENDABLE
+SF_EXTERN API_AVAILABLE(ios(26.0), visionos(26.0)) API_UNAVAILABLE(macCatalyst, tvos, watchos)
+@interface SFSafariSettings : NSObject
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
++ (void)openExportBrowsingDataSettingsWithCompletionHandler:(nullable NS_SWIFT_UI_ACTOR void (^)(NSError * _Nullable error))completionHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
+
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.h	2025-05-03 22:46:07
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.h	2025-05-31 01:22:38
@@ -13,6 +13,7 @@
 #import <SafariServices/SFError.h>
 #import <SafariServices/SFFoundation.h>
 #import <SafariServices/SFSafariApplication.h>
+#import <SafariServices/SFSafariSettings.h>
 #import <SafariServices/SFSafariViewController.h>
 #import <SafariServices/SFSafariViewControllerActivityButton.h>
 #import <SafariServices/SFSafariViewControllerConfiguration.h>
Clone this wiki locally