---
title: willConnectNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiscene/willconnectnotification
---

# willConnectNotification

A notification that indicates that UIKit added a scene to your app.

## Declaration

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

## Mentioned in

Presenting content on a connected display

## Discussion

Discussion When the user or your app requests a new instance of your user interface, UIKit creates an appropriate UIScene object and places it in the object property of the notification. Use this notification to respond to the addition of the new scene and to begin loading any data that the scene needs to display. UIKit also calls the scene(_:willConnectTo:options:) method of your scene delegate object.

## See Also

### Responding to life cycle notifications

- [didDisconnectNotification](uikit/uiscene/diddisconnectnotification.md)
- [willEnterForegroundNotification](uikit/uiscene/willenterforegroundnotification.md)
- [didActivateNotification](uikit/uiscene/didactivatenotification.md)
- [willDeactivateNotification](uikit/uiscene/willdeactivatenotification.md)
- [didEnterBackgroundNotification](uikit/uiscene/didenterbackgroundnotification.md)
