Pocket How
iPad and multiplatform

iPadOS 26 windowing: resizable windows, UIRequiresFullScreen and multiple windows

iPadOS 26+ (multiple windows from iPadOS 16). Intermediate. By Cihat Salik, .

Short answer

In iPadOS 26 any app can end up in a freely resizable window, and UIRequiresFullScreen is deprecated. Built with the iOS 27 SDK, the key no longer opts you out. Adopt the scene life cycle, support every orientation, let toolbars make room for the window controls, set a minimum size with windowResizability or UISceneSizeRestrictions, and open extra windows with openWindow.

The problem

For fifteen years an iPad app could assume it owned the screen, or at worst a Split View slice of it. iPadOS 26 ended that. People can now drag any window to any size, stack a dozen of them, and expect each one to come back where they left it. Apps that hard-coded a layout for 1024 points, or set UIRequiresFullScreen to dodge the problem, now show clipped toolbars, buttons hidden under the window controls, and layouts that break mid-drag. This article covers what changed, what Apple now requires, and how to make a SwiftUI app behave well in a window of any size.

What people see in iPadOS 26

The Human Interface Guidelines describe two modes, chosen by the person in Settings under Multitasking & Gestures:

  • Full screen. Every window fills the display and people switch with the app switcher.
  • Windowed. Windows resize freely, overlap, and the system remembers size and position even after the app quits.

Federico Viticci’s MacStories review is the best tour of how this feels in practice. A few details from it matter to developers. Apps open full screen the first time and then restore their last window frame. The traffic-light controls are collapsed until you hover or tap them. Red closes the window and, if it is the last one, quits the app. Yellow minimizes. Green toggles full screen. Double-tapping the title area cycles between full screen and the previous size.

Steve Troughton-Smith, quoted on Michael Tsai’s blog, found a practical cap of 12 visible windows on an M4 iPad, with extra windows moving to the recents carousel. His sharper point is about APIs: there are none for placing or resizing a window from code, and no auxiliary panels. You influence size through restrictions and preferences. You do not set a frame.

Rule one: the full-screen escape hatch is closing

UIRequiresFullScreen used to opt an iPad app out of multitasking. TN3192 lays out the timeline:

  • Starting in iPadOS 26 the key and its compatibility mode are deprecated.
  • Starting in iOS 27 and iPadOS 27, when you build with the iOS 27 SDK and the key is YES, it no longer stops resizing. The system resizes the scene discretely: the window does not change size while someone drags it, and when they let go the scene jumps to the new size.
  • The key now also affects iPhone. Before iOS 27 it applied to iPad only.

If you still support older systems where full screen is the only thing that works, keep the key and add UIRequiresFullScreenIgnoredStartingWithVersion with the first version where you have done the work, for example 26. The system then ignores the full-screen request from that version on and honours it below.

TN3192 lists what a resizable app must have:

  1. A launch screen. From iOS 27 and iPadOS 27 a launch screen is required for App Store submission.
  2. Support for every interface orientation.
  3. No UIRequiresFullScreen in Info.plist or in the INFOPLIST_KEY_UIRequiresFullScreen build setting.

The WWDC25 session Make your UIKit app more flexible adds a fourth: the UIScene life cycle. Apple said adoption becomes mandatory in the major release after iOS 26 when you build with the latest SDK. A SwiftUI app using the App protocol already runs on scenes, so this mostly bites UIKit apps that still configure their window in the app delegate.

If you truly need a fixed orientation for a moment, for example a camera capture or a steering-wheel game, override prefersInterfaceOrientationLocked on the view controller and call setNeedsUpdateOfPrefersInterfaceOrientationLocked() when it changes. TN3192 is explicit that the system may ignore the request. Design so that it can.

Rule two: let the window controls into your toolbar

In a resizable window the three controls sit at the leading edge of your toolbar. The WWDC25 session Elevate the design of your iPad app asks you to let the toolbar wrap around them so they sit in line with your buttons. Apps that have not adopted the iPadOS 26 SDK get a compatibility mode instead: the system adds an extra safe area strip above the toolbar for the controls. It works, but it permanently costs content height, and Apple calls it a compatibility measure only.

In SwiftUI you get the good version for free if you use NavigationStack or NavigationSplitView with .toolbar. Leading items shift right when the controls appear. Trouble comes from custom top bars built out of an HStack pinned to the top safe area. The HIG says it plainly: move leading buttons inward when the window controls appear, and do not build custom window chrome.

For UIKit, session 282 shows two tools. UIView.layoutGuide(for: .margins(cornerAdaptation: .horizontal)) (iPadOS 26) gives you a margins guide that avoids the corner where the controls live. UIWindowSceneDelegate.preferredWindowingControlStyle(for:) (iPadOS 26) lets you ask for a style such as .unified.

Rule three: lay out for width, not for device

Once windows resize freely, “iPad” stops meaning “wide”. A window can be narrower than an iPhone in portrait. Two signals remain useful in SwiftUI:

  • horizontalSizeClass tells you how system containers will behave: whether a split view collapses, whether a tab bar becomes a sidebar.
  • Actual measured width, through onGeometryChange(for:of:action:) or ViewThatFits, should drive your own breakpoints.

Fatbobman makes this case in From Size Class to Available Space, written after WWDC26 made iPhone app windows resizable too, on iPad and in iPhone Mirroring. His rule: use size class for system container semantics, use real geometry for your own layout, and never read UIScreen.main.bounds or the device idiom to decide layout. I agree with him, and the example below follows it.

import SwiftUI

struct LibraryGrid: View {
    let items: [Album]
    @State private var columns = 2

    var body: some View {
        ScrollView {
            LazyVGrid(columns: Array(repeating: GridItem(.flexible(), spacing: 16), count: columns), spacing: 16) {
                ForEach(items) { AlbumCell(album: $0) }
            }
            .padding()
        }
        .onGeometryChange(for: Int.self) { proxy in
            max(1, Int(proxy.size.width / 220))
        } action: { newValue in
            columns = newValue
        }
    }
}

struct Album: Identifiable {
    let id: UUID
    let title: String
}

struct AlbumCell: View {
    let album: Album
    var body: some View {
        Text(album.title)
            .frame(maxWidth: .infinity, minHeight: 120)
            .background(.quaternary, in: .rect(cornerRadius: 12))
    }
}

onGeometryChange(for:of:action:) is documented for iOS 16 and later. The transform returns a small Equatable value, so the action fires only when the column count actually changes, not on every point of a drag.

Rule four: set a minimum size, and only a minimum

You cannot set a window frame, but you can say how small is too small. In SwiftUI, apply a minimum frame to the scene’s root view and keep the default resizability. The documentation for windowResizability(_:) (iOS 17 and later) says the default automatic strategy uses contentMinSize for window groups, so the root view’s minimum frame becomes the window’s minimum.

import SwiftUI

@main
struct NotebookApp: App {
    var body: some Scene {
        WindowGroup {
            RootView()
                .frame(minWidth: 420, minHeight: 480)
        }
        .windowResizability(.contentMinSize)
    }
}

Writing .contentMinSize explicitly costs nothing and documents intent. Avoid .contentSize, which also caps the maximum. On iPad that fights the person who wants your app at half the screen.

The UIKit equivalent is UIWindowScene.sizeRestrictions, set when the scene connects. Session 282 uses a 500-point minimum width as its example. Two caveats from TN3192: rotation still changes the scene’s bounds whatever you ask for, and the system re-evaluates the restriction afterwards. Treat the minimum as a preference, and make sure the layout below it degrades instead of crashing.

How small should it be? Pick the narrowest width at which your primary task still works without horizontal scrolling. Test it. A minimum close to full-screen width defeats the point of windowing, and reviewers and users will notice.

Rule five: handle live resizing cheaply

Live resizing calls your layout on every frame of a drag. Most SwiftUI views cope. Expensive work does not: Metal renderers, image re-rendering, re-chunking a long document. iPadOS 26 gives you a signal for the drag itself:

import SwiftUI

struct CanvasScreen: View {
    @State private var isResizing = false

    var body: some View {
        PreviewRenderer(quality: isResizing ? .draft : .full)
            .onInteractiveResizeChange { resizing in
                isResizing = resizing
            }
    }
}

enum RenderQuality { case draft, full }

struct PreviewRenderer: View {
    let quality: RenderQuality
    var body: some View {
        Rectangle()
            .fill(quality == .draft ? Color.gray.opacity(0.3) : Color.blue.opacity(0.3))
    }
}

onInteractiveResizeChange(_:) is iOS and iPadOS 26 and later. If your deployment target is lower, wrap it in a small view modifier that checks if #available(iOS 26, *) and returns the content unchanged otherwise. UIKit apps read UIWindowScene.Geometry.isInteractivelyResizing in windowScene(_:didUpdateEffectiveGeometry:), and TN3192 shows the same pattern: do the heavy update only after the drag ends.

Multiple windows in SwiftUI

Windowing makes multiple windows feel natural. Turning them on has two parts.

First, set UIApplicationSupportsMultipleScenes to true under the Application Scene Manifest in Info.plist (“Supports multiple windows” in the target settings). Apple’s documentation for supportsMultipleWindows (iOS 16 and later) says that on iPadOS this environment value is true only with the SwiftUI life cycle and that key. If it is false and you call openWindow, SwiftUI ignores the call and logs a runtime error.

Second, give each kind of window a scene and open it with a value:

import SwiftUI

@main
struct NotesApp: App {
    @State private var store = NoteStore()

    var body: some Scene {
        WindowGroup {
            NoteListView()
                .environment(store)
        }

        WindowGroup("Note", id: "note", for: Note.ID.self) { $noteID in
            if let noteID {
                NoteEditor(noteID: noteID)
                    .environment(store)
            }
        }
    }
}

struct OpenInNewWindowButton: View {
    let noteID: Note.ID
    @Environment(\.openWindow) private var openWindow
    @Environment(\.supportsMultipleWindows) private var supportsMultipleWindows

    var body: some View {
        if supportsMultipleWindows {
            Button("Open in New Window", systemImage: "macwindow.badge.plus") {
                openWindow(id: "note", value: noteID)
            }
        }
    }
}

@Observable
final class NoteStore {
    var notes: [Note] = []
}

struct Note: Identifiable, Codable, Hashable {
    let id: UUID
    var title: String
}

struct NoteListView: View {
    @Environment(NoteStore.self) private var store
    var body: some View {
        NavigationStack {
            List(store.notes) { note in
                Text(note.title)
                    .contextMenu { OpenInNewWindowButton(noteID: note.id) }
            }
            .navigationTitle("Notes")
        }
    }
}

struct NoteEditor: View {
    let noteID: Note.ID
    @Environment(NoteStore.self) private var store
    var body: some View {
        let title = store.notes.first { $0.id == noteID }?.title ?? "Note"
        NavigationStack {
            Text(title)
                .navigationTitle(title)
        }
    }
}

WindowGroup(_:id:for:content:) and openWindow are iOS 16 and later. When the presented value already has a window, OpenWindowAction brings that window forward instead of making a duplicate. The value is stored for state restoration, so pass an identifier, never the whole model. dismissWindow (iOS 17) closes one from code.

Two pieces of guidance from session 208 and the HIG are easy to skip and worth doing:

  • Name every window. Windows now show up in the app menu, so “Notes” five times is useless. On iPadOS the primary destination’s navigationTitle becomes the window’s title in the app switcher. UIKit apps set UIScene.title.
  • Don’t open windows by default. Offer “Open in New Window” in a context menu or the File menu and let people choose. Mail opening Compose in its own window is the model case.

The menu bar comes with it

Every iPad app now has a menu bar, revealed by moving the pointer to the top edge or swiping down. Apps built against older SDKs get the system menus automatically. Troughton-Smith’s advice, quoted on Michael Tsai’s blog, is to fill yours in now because people will go looking. The keyboard and menu details are their own topic, covered in keyboard shortcuts, menus and pointer on iPad. The windowing-specific point is that the menu bar acts on the focused window, so commands must read state from the active scene, not from a global singleton.

Traps and edge cases

  • Per-window state. Two windows of the same scene type each get their own @State and @SceneStorage. A shared @Observable store passed through the environment is shared, as intended. A singleton with “current selection” is a bug waiting for the second window.
  • Ctrl-W quits on the last window. Troughton-Smith noticed that Control-W now behaves like the red button. If your app plays audio or runs a long task, closing the last window should not silently lose work.
  • Discrete resize does not mean “no resize”. An app that keeps UIRequiresFullScreen under the iOS 27 SDK still changes size. It just changes in one step. Layout bugs show up all the same, just later.
  • Orientation lists. TN3192 reminds you that the system intersects your declared orientations with what the device supports. iPhones without a Home button never get portraitUpsideDown.
  • Screen-based maths. UIScreen.main.bounds describes the display, not your window. Use the scene’s effectiveGeometry in UIKit and measured geometry in SwiftUI.

Checklist

Item API or setting Minimum OS
Remove the full-screen opt-out Delete UIRequiresFullScreen, or add UIRequiresFullScreenIgnoredStartingWithVersion iPadOS 26 deprecation, enforced with iOS 27 SDK
Launch screen present Info.plist launch screen Required for submission from iOS 27
All orientations declared UISupportedInterfaceOrientations All
Toolbar makes room for window controls .toolbar in NavigationStack / NavigationSplitView iPadOS 26 behaviour
Minimum window size .windowResizability(.contentMinSize) plus root frame(minWidth:minHeight:), or sizeRestrictions iPadOS 17 (SwiftUI), 13 (UIKit)
Cheap live resize onInteractiveResizeChange(_:), isInteractivelyResizing iPadOS 26
Multiple windows UIApplicationSupportsMultipleScenes, WindowGroup(for:), openWindow iPadOS 16
Window names navigationTitle or UIScene.title iPadOS 14 / 13
Layout by measured width onGeometryChange(for:of:action:), ViewThatFits iOS 16

Test at three widths before you ship: the narrowest window you allow, roughly half a 13-inch display, and full screen, each in both orientations. Test with Stage Manager off and on, since people can still pick it. Most bugs show up at the minimum, so start there.

Sources and further reading

Read next