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
YES when the window is the key window or
NO 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.