---
title: UIWindow.Level
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uiwindow/level
---

# UIWindow.Level

The positioning of windows relative to each other.

## Declaration

```swift
struct Level
```

## Overview

Overview The stacking of levels takes precedence over the stacking of windows within each level. That is, even the bottom window in a level obscures the top window of the next level down. Levels are listed in order from lowest to highest.

## Topics

### Window levels

- [normal](uikit/uiwindow/level/normal.md)
- [statusBar](uikit/uiwindow/level/statusbar.md)
- [alert](uikit/uiwindow/level/alert.md)

### Initializers

- [init(_:)](uikit/uiwindow/level/init(_:).md)
- [init(rawValue:)](uikit/uiwindow/level/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Comparable](swift/comparable.md)
- [Copyable](swift/copyable.md)
- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring the window

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