In iPadOS 26, Apple introduced macOS-style window control buttons (close, minimize, fullscreen) for iPad apps running in a floating window. I'm working on a custom toolbar (UIView) positioned near the top of the window, and I'd like to avoid overlapping with these new controls.
However, I haven't found any public API that exposes the frame, layout margins, or safe area insets related to this new UI region. I've checked the window's safeAreaInsets
, additionalSafeAreaInsets
, and UIWindowSceneDelegate
APIs, but none of them seem to reflect the area occupied by these buttons.
Is there an officially supported way to:
- Get the layout information (frame, insets, or margins) of the window control buttons on iPadOS 26?
- Or, is there a system-defined guideline or padding value we should use to avoid overlapping this new UI?
Any clarification or guidance would be appreciated!