When a system push notification is tapped while an app has multiple windows open on iPhone Duo, how is the target window/scene chosen?

My app currently handles push-notification taps by resolving a destination screen and presenting it. With multi-window now available to every app on iPhone Duo whether it opts in or not, if the app already has more than one window open when a notification is tapped, does the system pick an existing window to route into, always spawn a new one, or is that left entirely to the app to decide?

Is there a way for the app to express a preference — e.g. "route into the window that's already showing related content, if one exists" — or does userNotificationCenter(_:didReceive:)/scene-continuation handling need to inspect all currently-connected scenes itself and make that decision manually?

When a system push notification is tapped while an app has multiple windows open on iPhone Duo, how is the target window/scene chosen?
 
 
Q