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

# init()

Creates a message for a host app entering the foreground.

## Declaration

```swift
init()
```
