isKeyWindow
A Boolean value that indicates whether the window is the key window for the application.
Declaration
var isKeyWindow: Bool { get }Discussion
The value of this property is true if the window is the key window for the application; otherwise, false.