How to detect top window in multi-window app on iPad

Hello,

Does anyone know, how to programmatically detect top window in multi-window app on iPad? Especially in new overlapping window/Stage Manager environment?

How to detect top window in multi-window app on iPad
 
 
Q