I need to use external screen on iPad for an own View (not UIView). NotificationCenter registration for an UIScreen.didConnectNotification event work. In UIScreen.screens[1] there is the second screen. But how can I add a SwiftUI View (not an UIView).
All samples I found show only how to add the old UIView.
All samples I found show only how to add the old UIView.