---
title: window
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwindowscenedelegate/window
---

# window

The main window associated with the scene.

## Declaration

```swift
optional var window: UIWindow? { get set }
```
