How to limit a UIWindowScene to create only one window?

92 Views Asked by At

One of my apps uses two UIWindowScene configurations. One of these two configurations is the main view of the app. I want to limit the number of windows for the main view to just one. So essentially I want a classic 'one main window' and 'multiple sub windows' architecture.

This all results in the following question: Is it possible to prevent the creation of a new UIWindowScene if one has already been created with the same configuration?

0

There are 0 best solutions below