---
title: UNPushNotificationTrigger
framework: usernotifications
role: symbol
role_heading: Class
path: usernotifications/unpushnotificationtrigger
---

# UNPushNotificationTrigger

A trigger condition that indicates Apple Push Notification Service (APNs) has sent the notification.

## Declaration

```swift
class UNPushNotificationTrigger
```

## Overview

Overview You don’t create instances of this class yourself. The system creates UNPushNotificationTrigger objects and associates them with requests that originated from Apple Push Notification service. You encounter instances of this class when managing your app’s delivered notification requests, which store an object of this type in their trigger property.

## Relationships

### Inherits From

- [UNNotificationTrigger](usernotifications/unnotificationtrigger.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Triggers

- [UNCalendarNotificationTrigger](usernotifications/uncalendarnotificationtrigger.md)
- [UNTimeIntervalNotificationTrigger](usernotifications/untimeintervalnotificationtrigger.md)
- [UNLocationNotificationTrigger](usernotifications/unlocationnotificationtrigger.md)
- [UNNotificationTrigger](usernotifications/unnotificationtrigger.md)
