How to disable auto-rotation on iPadOS 26 with manual 180° flip while keeping Stage Manager / windowed mode?
07:09 27 Aug 2026

I'm building a PDF reader app in SwiftUI on iPadOS 26.2.

I want to completely turn off auto-rotation so the app never rotates automatically when the iPad is tilted or moved. The only time the orientation should change is when the user taps a button in the toolbar to manually flip the screen 180° (between regular portrait and upside-down portrait, which is helpful when charging the iPad with the cable on top).

I saw online that people mention using UIRequiresFullScreen in Info.plist or handling it via AppDelegate, but I need the app to support Stage Manager and windowed mode, so forcing full screen is not an option.

Is there a way in iPadOS 26 to stop the app from auto-rotating with device tilt, and instead only rotate manually via a toolbar button, while still keeping windowed mode / Stage Manager enabled?

swiftui ipados