On Sat, 24 Jun 2023 11:51:12 +0000 Stefan Csomor wrote:
SC> Since iOS 13 on iPads there is the option for multiple-windows – or
SC> rather multiple windows grouped together in a so called WindowScene.
SC>
https://developer.apple.com/documentation/uikit/uiwindowscene?language=objc
SC>
SC> So the hierarchy is:
SC> UIScreen -> one or more UIWindowScenes -> one or more UIWindows …
SC>
SC> Now on visionOS the UIScreen is not available anymore at all, we just
SC> can access the UIWindowScenes of our UIApplication.
SC>
SC> Do we have somewhere in wx a concept that is grouping multiple
SC> tlw-windows together or can I start afresh. Any ideas or special
SC> thoughts about this ?
Hi Stefan,
I don't think we have anything like this, wxDisplay is a bit related, but
not really the same thing. AFAICS from the linked documentation,
UIWindowScene has to be declared in Info.plist, so I'm not even sure if we
need to have a corresponding object at wx level, as we could just provide
access to it via wxApp.
OTOH if you think it could be useful to have a corresponding wx class, we
could add one too and provide generic implementation just returning all wx
windows and forwarding the rest of the functions to wxDisplay.
One thing which is not clear to me is whether using UIWindowScene is
optional or mandatory for the new applications? And, if it's the former,
what exactly do you gain from using it? The possibility to have multiple
independent UIs in the same application?
Sorry if I'm totally missing the point here, because I definitely feel
like I am...
Best,
VZ