---
title: UNTimeIntervalNotificationTrigger
framework: usernotifications
role: symbol
role_heading: Class
path: usernotifications/untimeintervalnotificationtrigger
---

# UNTimeIntervalNotificationTrigger

A trigger condition that causes the system to deliver a notification after the amount of time you specify elapses.

## Declaration

```swift
class UNTimeIntervalNotificationTrigger
```

## Overview

Overview Create a UNTimeIntervalNotificationTrigger object when you want to schedule the delivery of a local notification after the number of seconds you specify elapses. You use this type of trigger to implement timers. Listing 1 creates a trigger that delivers its notification one time after 30 minutes have elapsed. Listing 1. Creating a trigger that fires in 30 minutes

## Topics

### Creating a Time Interval Trigger

- [init(timeInterval:repeats:)](usernotifications/untimeintervalnotificationtrigger/init(timeinterval:repeats:).md)

### Getting the Trigger Information

- [nextTriggerDate()](usernotifications/untimeintervalnotificationtrigger/nexttriggerdate().md)
- [timeInterval](usernotifications/untimeintervalnotificationtrigger/timeinterval.md)

## 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)
- [UNLocationNotificationTrigger](usernotifications/unlocationnotificationtrigger.md)
- [UNPushNotificationTrigger](usernotifications/unpushnotificationtrigger.md)
- [UNNotificationTrigger](usernotifications/unnotificationtrigger.md)
