current()
Returns your app’s notification center.
Declaration
class func current() -> UNUserNotificationCenterReturn Value
The notification center object to use.
Discussion
Always use this method to retrieve the shared notification center object for your app. Do not try to create instances of the UNUserNotificationCenter class directly.