Skip to content

SafariServices iOS xcode15.4 b1

Alex Soto edited this page May 2, 2024 · 1 revision

#SafariServices.framework

diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h	2024-02-16 00:15:23
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/SafariServices.framework/Headers/SFAddToHomeScreenActivityItem.h	2024-04-10 00:10:57
@@ -4,6 +4,8 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+@class BEWebAppManifest;
+
 /*! 
  @protocol SFAddToHomeScreenActivityItem
  An activity item for adding "Add to Home Screen" activity type into activity view (share sheet) list.
@@ -18,7 +20,7 @@
 @property (nonatomic, readonly) NSURL *URL;
 
 /*! @abstract The title for the home screen bookmark item.
- This URL will be shown to user in the confirmation sheet.
+ This title will be shown to user in the confirmation sheet.
  */
 @property (nonatomic, readonly) NSString *title;
 
@@ -28,6 +30,11 @@
  */
 @optional
 @property (nonatomic, nullable, readonly) NSItemProvider *iconItemProvider;
+
+/*! @abstract An optional method to provide the web app manifest.
+ This is only available to apps that can use BrowserEngineKit.
+*/
+- (void)getWebAppManifestWithCompletionHandler:(void (^)(BEWebAppManifest *_Nullable))completionHandler API_AVAILABLE(ios(17.5));
 
 @end
 
Clone this wiki locally