UNUserNotificationCenterDelegate
An interface for processing incoming notifications and responding to notification actions.
Declaration
protocol UNUserNotificationCenterDelegate : NSObjectProtocolOverview
Use the methods of the UNUserNotificationCenterDelegate protocol to handle user-selected actions from notifications, and to process notifications that arrive when your app is running in the foreground. After implementing these methods in an object, assign that object to the delegate property of the shared UNUserNotificationCenter object. The user notification center object calls the methods of your delegate at appropriate times.
For information about the shared user notification center object, see UNUserNotificationCenter.