A Boolean value that indicates whether the window is the key window for the app.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The value of this property is
true when the window is the key window or
false when it is not. The key window receives keyboard and other non-touch related events. Only one window at a time may be the key window.