iPad Multiwindow - How to find the scene that's foregrounded and actively engaged with?

Hi!

I made a sample project with multiple windows enabled and when both windows are side by side (split equally), both scenes activationState is foregroundActive. When I tap the unfocused scene, sceneDelegate's didBecomeActive & willResignActive are not called.

Why is it that both are foregroundActive when the user is only focused / actively engaging with one scene / window? Am I misunderstanding what is meant by "... foreground and is currently receiving events"?

And what's the right way to get the actively engaged with / focused scene?

iPad Multiwindow - How to find the scene that's foregrounded and actively engaged with?
 
 
Q