UNNotificationTrigger
The common behavior for subclasses that trigger the delivery of a local or remote notification.
Declaration
class UNNotificationTriggerOverview
The UNNotificationTrigger class is an abstract class for representing an event that triggers the delivery of a notification. You don’t create instances of this class directly. Instead, you instantiate the concrete subclass that defines the trigger condition you want for your notification. You then assign the resulting object to the UNNotificationRequest object that you use to schedule your notification.
Concrete trigger classes include the following: