<!--
{
  "availability" : [
    "macOS: 13.0.0 -",
    "Xcode: 14.2.0 -"
  ],
  "documentType" : "article",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/bringing-multiple-windows-to-your-swiftui-app",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "Bringing multiple windows to your SwiftUI app"
}
-->

# Bringing multiple windows to your SwiftUI app

Compose rich views by reacting to state changes and customize your app’s scene presentation and behavior on iPadOS and macOS.

## Overview

> Note: This sample code project is associated with WWDC22 session [10061: Bring multiple windows to your SwiftUI app](https://developer.apple.com/wwdc22/10061/).

### Configure the sample code project

Before you run the sample code project in Xcode:

- To run the sample on an iOS device or Mac, make sure you select your team in the Signing & Capabilities tab in each target’s settings.

---

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)