-
Notifications
You must be signed in to change notification settings - Fork 507
UserNotifications watchOS xcode14.0 beta3
Manuel de la Pena edited this page Jul 19, 2022
·
3 revisions
#UserNotifications.framework https://github.com/xamarin/xamarin-macios/pull/15544
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h 2022-06-17 13:30:08.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h 2022-06-30 20:58:50.000000000 -0500
@@ -24,4 +24,6 @@
UNErrorCodeContentProvidingObjectNotAllowed = 1500,
UNErrorCodeContentProvidingInvalid,
+
+ UNErrorCodeBadgeInputInvalid = 1600,
} API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0));
diff -ruN /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h 2022-06-17 13:30:08.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h 2022-06-30 20:58:51.000000000 -0500
@@ -74,6 +74,8 @@
- (void)removeDeliveredNotificationsWithIdentifiers:(NSArray<NSString *> *)identifiers API_UNAVAILABLE(tvos);
- (void)removeAllDeliveredNotifications API_UNAVAILABLE(tvos);
+- (void)setBadgeCount:(NSInteger)newBadgeCount withCompletionHandler:(nullable void(^)(NSError *__nullable error))completionHandler API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
+
@end
typedef NS_OPTIONS(NSUInteger, UNNotificationPresentationOptions) {
- 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