Skip to content

UserNotifications watchOS xcode13.0 beta3

tj_devel709 edited this page Jul 19, 2021 · 3 revisions

#UserNotifications.framework https://github.com/xamarin/xamarin-macios/pull/12130

diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h	2021-06-17 04:15:37.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h	2021-07-10 09:47:19.000000000 -0400
@@ -7,8 +7,6 @@
 
 #import <Foundation/Foundation.h>
 
-#import <UserNotifications/UNNotificationInterruptionReason.h>
-
 @class UNNotificationAttachment;
 @class UNNotificationSound;
 @class UNNotificationContent;
@@ -83,9 +81,6 @@
 // The interruption level determines the degree of interruption associated with the notification
 @property (NS_NONATOMIC_IOSONLY, readonly, assign) UNNotificationInterruptionLevel interruptionLevel API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
 
-// Reason associated with the interruption
-@property (NS_NONATOMIC_IOSONLY, readonly, copy) UNNotificationInterruptionReason interruptionReason API_UNAVAILABLE(macos, ios, watchos, tvos);
-
 // Relevance score determines the sorting for the notification across app notifications. The expected range is between 0.0f and 1.0f.
 @property (NS_NONATOMIC_IOSONLY, readonly, assign) double relevanceScore API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
 
@@ -146,9 +141,6 @@
 // The interruption level determines the degree of interruption associated with the notification
 @property (NS_NONATOMIC_IOSONLY, readwrite, assign) UNNotificationInterruptionLevel interruptionLevel API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
 
-// Reason associated with the interruption
-@property (NS_NONATOMIC_IOSONLY, readwrite, copy) UNNotificationInterruptionReason interruptionReason API_UNAVAILABLE(macos, ios, watchos, tvos);
-
 // Relevance score determines the sorting for the notification across app notifications. The expected range is between 0.0f and 1.0f.
 @property (NS_NONATOMIC_IOSONLY, readwrite, assign) double relevanceScore API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0), tvos(15.0));
 
diff -ruN /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationInterruptionReason.h /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationInterruptionReason.h
--- /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationInterruptionReason.h	2021-06-17 04:15:37.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationInterruptionReason.h	1969-12-31 19:00:00.000000000 -0500
@@ -1,26 +0,0 @@
-//
-//  UNNotificationInterruptionReason.h
-//  UserNotifications
-//
-//  Copyright © 2021 Apple Inc. All rights reserved.
-//
-
-#import <Foundation/Foundation.h>
-
-NS_ASSUME_NONNULL_BEGIN
-
-typedef NSString *UNNotificationInterruptionReason NS_TYPED_EXTENSIBLE_ENUM API_UNAVAILABLE(macos, ios, watchos, tvos);
-
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonAccountSecurity API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonHealthAndWellness API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonLocalSafety API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonHomeSecurity API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonOrderPickup API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonPackageDelivery API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonTransportationDeparting API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonSchedule API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonTimeExpired API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonApprovalRequest API_UNAVAILABLE(macos, ios, watchos, tvos);
-extern UNNotificationInterruptionReason const UNNotificationInterruptionReasonUrgentMessage API_UNAVAILABLE(macos, ios, watchos, tvos);
-
-NS_ASSUME_NONNULL_END
Clone this wiki locally