UserNotifications watchOS 4.3 to 5.0 API Differences
UNNotificationSettings.h
Added
UNAuthorizationStatusProvisional
Added
UNNotificationSettings.criticalAlertSetting
Added
UNNotificationSettings.providesAppNotificationSettings
UNNotificationSound.h
Added
UNNotificationSoundName
Added
UNNotificationSound.defaultCriticalSound
Added
+[UNNotificationSound defaultCriticalSoundWithAudioVolume:]
Modified
+[UNNotificationSound defaultSound]
Declaration
From
+ (nonnull instancetype)defaultSound
To
@property (class, nonatomic, readonly, copy, nonnull) UNNotificationSound *defaultSound
UNUserNotificationCenter.h
Added
UNAuthorizationOptionCriticalAlert
Added
UNAuthorizationOptionProvidesAppNotificationSettings
Added
UNAuthorizationOptionProvisional