Class

UNNotificationTrigger

Provides common behavior for subclasses that trigger the delivery of a notification.

Overview

The UNNotificationTrigger class is an abstract class for representing an event that triggers the delivery of a notification. You do not 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:

Symbols

Configuring the Trigger’s Behavior

var repeats: Bool

A Boolean value indicating whether the event repeats.

Relationships

Inherits From