---
title: trigger
framework: usernotifications
role: symbol
role_heading: Instance Property
path: usernotifications/unnotificationrequest/trigger
---

# trigger

The conditions that trigger the delivery of the notification.

## Declaration

```swift
@NSCopying var trigger: UNNotificationTrigger? { get }
```

## Discussion

Discussion For notifications that the system has delivered, use this property to determine what caused the delivery to occur. For remote notifications, this property contains a UNPushNotificationTrigger object. For other notifications, the system sets this type using the trigger condition specified in the original request.

## See Also

### Getting the Request Details

- [identifier](usernotifications/unnotificationrequest/identifier.md)
- [content](usernotifications/unnotificationrequest/content.md)
