-
Notifications
You must be signed in to change notification settings - Fork 507
UserNotifications watchOS xcode13.0 beta2
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-beta.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
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h 2021-06-02 12:47:07.000000000 -0400
+++ /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
@@ -69,13 +69,13 @@
@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
/// The argument to be inserted in the summary for this notification.
-@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSString *summaryArgument API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos, tvos);
+@property (NS_NONATOMIC_IOSONLY, readonly, copy) NSString *summaryArgument API_DEPRECATED("summaryArgument is ignored", ios(12.0, 15.0), watchos(5.0, 8.0), tvos(12.0, 15.0));
/// A number that indicates how many items in the summary are represented in the summary.
/// For example if a podcast app sends one notification for 3 new episodes in a show,
/// the argument should be the name of the show and the count should be 3.
/// Default is 1 and cannot be 0.
-@property (NS_NONATOMIC_IOSONLY, readonly, assign) NSUInteger summaryArgumentCount API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos, tvos);
+@property (NS_NONATOMIC_IOSONLY, readonly, assign) NSUInteger summaryArgumentCount API_DEPRECATED("summaryArgumentCount is ignored", ios(12.0, 15.0), watchos(5.0, 8.0), tvos(12.0, 15.0));
// An identifier for the content of the notification used by the system to customize the scene to be activated when tapping on a notification.
@property (NS_NONATOMIC_IOSONLY, readonly, copy, nullable) NSString *targetContentIdentifier API_AVAILABLE(ios(13.0)); // default nil
@@ -132,13 +132,13 @@
@property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSDictionary *userInfo API_UNAVAILABLE(tvos);
/// The argument to be inserted in the summary for this notification.
-@property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *summaryArgument API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos, tvos);
+@property (NS_NONATOMIC_IOSONLY, readwrite, copy) NSString *summaryArgument API_DEPRECATED("summaryArgument is ignored", ios(12.0, 15.0), watchos(5.0, 8.0), tvos(12.0, 15.0));
/// A number that indicates how many items in the summary are represented in the summary.
/// For example if a podcast app sends one notification for 3 new episodes in a show,
/// the argument should be the name of the show and the count should be 3.
/// Default is 1 and cannot be 0.
-@property (NS_NONATOMIC_IOSONLY, readwrite, assign) NSUInteger summaryArgumentCount API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(watchos, tvos);
+@property (NS_NONATOMIC_IOSONLY, readwrite, assign) NSUInteger summaryArgumentCount API_DEPRECATED("summaryArgumentCount is ignored", ios(12.0, 15.0), watchos(5.0, 8.0), tvos(12.0, 15.0));
// An identifier for the content of the notification used by the system to customize the scene to be activated when tapping on a notification.
@property (NS_NONATOMIC_IOSONLY, readwrite, copy, nullable) NSString *targetContentIdentifier API_AVAILABLE(ios(13.0)); // default nil
diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h 2021-06-02 07:35:51.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h 2021-06-17 03:45:55.000000000 -0400
@@ -81,6 +81,8 @@
@property (NS_NONATOMIC_IOSONLY, readonly) UNNotificationSetting scheduledDeliverySetting API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0)) API_UNAVAILABLE(tvos);
+@property (NS_NONATOMIC_IOSONLY, readonly) UNNotificationSetting directMessagesSetting API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0)) API_UNAVAILABLE(tvos);
+
- (instancetype)init NS_UNAVAILABLE;
@end
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status