What is the recommended architecture for a native iPadOS application that automatically creates an interactive external workspace on a connected display while preserving pointer interaction and allowing custom layouts?
This is very interesting post hope I understand correctly what you trying to accomplish, and more about when talking about MultipleScenes and moving Scenes to external displays.
To build a native iPadOS application that utilizes an external display with custom layouts while preserving pointer interaction, you must adopt a Multi-Scene Architecture. But hope other developers also provide their solution here.
https://developer.apple.com/documentation/swiftui/scene
Treats the external display as an extended desktop. Fully preserves native pointer interaction, hover effects, and custom interactive layouts. You cannot force the window to open full-screen on the external display automatically; the OS or the user dictates window placement, though you can programmatically request a new scene.
Because your app will effectively run two independent UI hierarchies (one on the iPad, one on the external display), your architecture must strictly separate UI from state.
https://developer.apple.com/documentation/uikit/uiscenedelegate/scene(_:willconnectto:options:)
But I recommend to look at the sessions open https://developer.apple.com/documentation/uikit/uiapplication/opensessions
And the support for MultipleScenes https://developer.apple.com/documentation/uikit/uiapplication/supportsmultiplescenes
In SwiftUI, you can achieve this using the WindowGroup and the openWindow environment value. Moving the Window and Scene where you want is the user's task.
Hope this gets you started.
Albert WWDR