I have a working Mac Catalyst app which opens several ViewControllers simultaneously, each in their own Scene. Once the scenes are opened and all foreground, I would like each ViewController to be notified when the user taps that window so its Scene becomes Active, i.e., topmost, first Responder and focus.
However, after the initial scene creation and activation, the Scene Delegate sceneDidBecomeActive method does not get triggered by any user interaction, despite the targeted window cycling between Active and Inactive.
Neither does UIKit post the "didBecomeActiveNotification" event.
Inside the ViewControllers, the "viewDidAppear" method does not get invoked either.
Is there a UISceneConfigurationOption required to handle an activate event?
How can I detect an Activate event on an existing scene/ViewController?