UserNotifications macOS 11.3 to 12.0 API Differences

UNError.h
Added UNErrorCodeContentProvidingObjectNotAllowed
Added UNErrorCodeContentProvidingInvalid
UNNotificationAction.h
Added UNNotificationAction.icon
Added +[UNNotificationAction actionWithIdentifier:title:options:icon:]
Added +[UNTextInputNotificationAction actionWithIdentifier:title:options:icon:textInputButtonTitle:textInputPlaceholder:]
UNNotificationActionIcon.h
Added UNNotificationActionIcon
Added +[UNNotificationActionIcon iconWithTemplateImageName:]
Added +[UNNotificationActionIcon iconWithSystemImageName:]
UNNotificationContent.h
Added UNNotificationContentProviding
Added UNNotificationInterruptionLevel
Added UNNotificationInterruptionLevelPassive
Added UNNotificationInterruptionLevelActive
Added UNNotificationInterruptionLevelTimeSensitive
Added UNNotificationInterruptionLevelCritical
Added UNNotificationContent.interruptionLevel
Added UNNotificationContent.relevanceScore
Added -[UNNotificationContent contentByUpdatingWithProvider:error:]
Added UNMutableNotificationContent.interruptionLevel
Added UNMutableNotificationContent.relevanceScore
Modified UNMutableNotificationContent.attachments
Declaration
From@property (atomic, copy) NSArray<UNNotificationAttachment *> *attachments
To@property (atomic, readwrite, copy) NSArray<UNNotificationAttachment *> *attachments

Modified UNMutableNotificationContent.badge
Declaration
From@property (atomic, copy) NSNumber *badge
To@property (atomic, readwrite, copy) NSNumber *badge

Modified UNMutableNotificationContent.body
Declaration
From@property (atomic, copy) NSString *body
To@property (atomic, readwrite, copy) NSString *body

Modified UNMutableNotificationContent.categoryIdentifier
Declaration
From@property (atomic, copy) NSString *categoryIdentifier
To@property (atomic, readwrite, copy) NSString *categoryIdentifier

Modified UNMutableNotificationContent.sound
Declaration
From@property (atomic, copy) UNNotificationSound *sound
To@property (atomic, readwrite, copy) UNNotificationSound *sound

Modified UNMutableNotificationContent.subtitle
Declaration
From@property (atomic, copy) NSString *subtitle
To@property (atomic, readwrite, copy) NSString *subtitle

Modified UNMutableNotificationContent.threadIdentifier
Declaration
From@property (atomic, copy) NSString *threadIdentifier
To@property (atomic, readwrite, copy) NSString *threadIdentifier

Modified UNMutableNotificationContent.title
Declaration
From@property (atomic, copy) NSString *title
To@property (atomic, readwrite, copy) NSString *title

Modified UNMutableNotificationContent.userInfo
Declaration
From@property (atomic, copy) NSDictionary *userInfo
To@property (atomic, readwrite, copy) NSDictionary *userInfo

Modified UNMutableNotificationContent.summaryArgument
Declaration
From@property (atomic, copy) NSString *summaryArgument
To@property (atomic, readwrite, copy) NSString *summaryArgument

Modified UNMutableNotificationContent.summaryArgumentCount
Declaration
From@property (atomic, assign) NSUInteger summaryArgumentCount
To@property (atomic, readwrite, assign) NSUInteger summaryArgumentCount

Modified UNMutableNotificationContent.targetContentIdentifier
Declaration
From@property (atomic, copy) NSString *targetContentIdentifier
To@property (atomic, readwrite, copy) NSString *targetContentIdentifier

UNNotificationSettings.h
Added UNNotificationSettings.timeSensitiveSetting
Added UNNotificationSettings.scheduledDeliverySetting
Added UNNotificationSettings.directMessagesSetting
UNUserNotificationCenter.h
Added UNAuthorizationOptionTimeSensitive