<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.14.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UserNotifications",
  "identifier" : "/documentation/UserNotifications/UNTimeIntervalNotificationTrigger",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "User Notifications"
    ],
    "preciseIdentifier" : "c:objc(cs)UNTimeIntervalNotificationTrigger"
  },
  "title" : "UNTimeIntervalNotificationTrigger"
}
-->

# UNTimeIntervalNotificationTrigger

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

```
class UNTimeIntervalNotificationTrigger
```

## Overview

Create a [`UNTimeIntervalNotificationTrigger`](/documentation/UserNotifications/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

```objc
// Fire in 30 minutes (60 seconds times 30)
UNTimeIntervalNotificationTrigger* trigger = [UNTimeIntervalNotificationTrigger
                     triggerWithTimeInterval:(30*60) repeats: NO];
```

## Topics

### Creating a Time Interval Trigger

[`init(timeInterval:repeats:)`](/documentation/UserNotifications/UNTimeIntervalNotificationTrigger/init(timeInterval:repeats:))

Creates a time interval trigger using the time value parameter.

### Getting the Trigger Information

[`nextTriggerDate()`](/documentation/UserNotifications/UNTimeIntervalNotificationTrigger/nextTriggerDate())

The next date at which the trigger conditions are met.

[`timeInterval`](/documentation/UserNotifications/UNTimeIntervalNotificationTrigger/timeInterval)

The time interval to create the trigger.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)