keyWindow
The key window associated with the scene.
Declaration
var keyWindow: UIWindow? { get }Discussion
The key window receives keyboard and other non-touch-related events. Of a scene’s associated windows, only one window at a time may be the key window.