---
title: init()
framework: foundation
role: symbol
role_heading: Initializer
path: foundation/nsextensioncontext/willresignactivemessage/init()
---

# init()

Creates a message for a host app becoming inactive.

## Declaration

```swift
init()
```
