I would like to use the delegate methods of the UISceneSession lifecycle to help inform my Mac Catalyst app when the user moves their focus away from the app (window) and then comes back to the app (window).
When the app first launches on Mac sceneWillEnterForeground and sceneDidBecomeActive are successfully called, however when I focus on another app then delegate methods such as sceneWillEnterForeground are not called. Why?