Skip to content

SafariServices MacCatalyst xcode27.0 b3

Alex Soto edited this page Jul 24, 2026 · 2 revisions

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

diff -ruN /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h
--- /Applications/Xcode_27.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h	2026-06-18 03:51:44
+++ /Applications/Xcode_27.0.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h	2026-06-30 03:27:46
@@ -5,6 +5,7 @@
 NS_ASSUME_NONNULL_BEGIN
 
 @class BEWebAppManifest;
+@class SFAddToHomeScreenInfo;
 
 /*! 
  @protocol SFAddToHomeScreenActivityItem
@@ -36,6 +37,11 @@
 */
 - (void)getWebAppManifestWithCompletionHandler:(void (^)(BEWebAppManifest *_Nullable))completionHandler API_DEPRECATED("Create a SFAddToHomeScreenInfo instead", ios(17.5, API_TO_BE_DEPRECATED));
 
+/*! @abstract An optional method to fetch the SFAddToHomeScreenInfo.
+ This will fetch all of the asynchronous data in one operation. If this method is
+ implemented, it will be used instead of getWebAppManifestWithCompletionHandler:.
+ */
+- (void)getHomeScreenWebAppInfoWithCompletionHandler:(void (^)(SFAddToHomeScreenInfo *_Nullable))completionHandler API_AVAILABLE(ios(18.2));
 
 @end
 

Clone this wiki locally