---
title: willTerminateNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiapplication/willterminatenotification
---

# willTerminateNotification

A notification that posts when the app is about to terminate.

## Declaration

```swift
nonisolated class let willTerminateNotification: NSNotification.Name
```

## Discussion

Discussion This notification is associated with the delegate applicationWillTerminate(_:) method. This notification does not contain a userInfo dictionary.

## See Also

### Responding to app life-cycle events

- [applicationDidBecomeActive(_:)](uikit/uiapplicationdelegate/applicationdidbecomeactive(_:).md)
- [applicationWillResignActive(_:)](uikit/uiapplicationdelegate/applicationwillresignactive(_:).md)
- [applicationDidEnterBackground(_:)](uikit/uiapplicationdelegate/applicationdidenterbackground(_:).md)
- [applicationWillEnterForeground(_:)](uikit/uiapplicationdelegate/applicationwillenterforeground(_:).md)
- [applicationWillTerminate(_:)](uikit/uiapplicationdelegate/applicationwillterminate(_:).md)
- [didBecomeActiveNotification](uikit/uiapplication/didbecomeactivenotification.md)
- [didEnterBackgroundNotification](uikit/uiapplication/didenterbackgroundnotification.md)
- [willEnterForegroundNotification](uikit/uiapplication/willenterforegroundnotification.md)
- [willResignActiveNotification](uikit/uiapplication/willresignactivenotification.md)
