in iPadOS remove New window from Window top menu bar in Swift UI

Hi,

I have an univesal iOS app that supports multiple windows but i dont want the user to create the new window from WIndow top menu bar in iPad. I will create the windows from the main app using openWindow.

Is there a way i can hide the New Window in the Window Menu top bar?

Thanks in advance

in iPadOS remove New window from Window top menu bar in Swift UI
 
 
Q