Does Mac Catalyst support an "always on top" window scene?

My UIKit/Mac Catalyst app supports a user opening multiple windows (multiple scenes). One of these is a special scene that shows content that I want to appear in front of all other app windows/scenes, even while the user is interacting with one of the app's other scenes. I do not need this special scene to stay in front of the windows of other apps, just in front of the windows of my own app.

While I'm not 100% sure, it seems that AppKit supports this through the NSWindow level property. I can't find any equivalent feature in UIKit/Mac Catalyst. UIWindow windowLevel is not the same thing since that only affects the order of windows within a given scene. I need an entire scene (and its windows) to stay in front of my app's other scenes (and their windows).

I don't see anything relevant in UIWindow, UIScene, UIWindowScene, UISceneSession, UIScene.ActivationRequestOptions, or UIWindowScene.ActivationRequestOptions.

Answered by DTS Engineer in 861308022

When you attach the window to the new scene instance call makeKeyAndVisible.. It should show the window and position it in front of all other windows at the same level or lower.

When you attach the window to the new scene instance call makeKeyAndVisible.. It should show the window and position it in front of all other windows at the same level or lower.

Thanks. I’m already making the window key and visible. But that’s not my question. I want this one scene (and its windows) to appear in front of all other scenes (and their windows) in my app. And I want it to stay in front at all times. Even when the user is interacting with any other scene.

Does Mac Catalyst support an "always on top" window scene?
 
 
Q