<!--
{
  "availability" : [
    "iOS: 2.0.0 - 15.0.0",
    "iPadOS: 2.0.0 - 15.0.0",
    "macCatalyst: 13.1.0 - 15.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplication/windows",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIApplication(py)windows"
  },
  "title" : "windows"
}
-->

# windows

The app’s visible and hidden windows.

```
var windows: [UIWindow] { get }
```

## Discussion

This property contains the [`UIWindow`](/documentation/UIKit/UIWindow) objects currently associated with the app. This list doesn’t include windows created and managed by the system, such as the window used to display the status bar.

The array orders the windows from back to front by window level; thus, the last window in the array is on top of all other app windows.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
