UserNotifications Changes for Swift
UserNotifications (Added)
Added UNAlertStyle [enum]
Added UNAlertStyle.alert
Added UNAlertStyle.banner
Added UNAlertStyle.none
Added UNError [struct]
Added UNError.init(_nsError: NSError)
Added UNError.Code [enum]
Added UNNotification
Added UNNotification.date
Added UNNotification.request
Added UNNotificationAction
Added UNNotificationAction.init(identifier: String, title: String, options: UNNotificationActionOptions)
Added UNNotificationAttachment
Added UNNotificationAttachment.init(identifier: String, url: URL, options: [AnyHashable : Any]?) throws
Added UNNotificationCategory
Added UNNotificationContent
Added UNNotificationRequest
Added UNNotificationResponse
Added UNNotificationSettings
Added UNNotificationSound
Added UNNotificationTrigger
Added UNUserNotificationCenter
Added UNErrorDomain