---
title: screen
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwindow/screen
---

# screen

The screen to display the window on.

## Declaration

```swift
var screen: UIScreen { get set }
```

## Discussion

Discussion By default, UIKit sets this property to the primary device screen. If additional screens are attached to the device, you can assign a different screen object to display the window on that screen. A window is always displayed on only one screen. Moving windows from screen to screen is a relatively expensive operation and isn’t optimal in performance-sensitive code. Instead, change the screen before displaying the window the first time. Changing the screen of a window that hasn’t been ordered onto the screen has no significant additional cost.

## See Also

### Configuring the window

- [rootViewController](uikit/uiwindow/rootviewcontroller.md)
- [windowLevel](uikit/uiwindow/windowlevel.md)
- [UIWindow.Level](uikit/uiwindow/level.md)
- [canResizeToFitContent](uikit/uiwindow/canresizetofitcontent.md)
