A Boolean value that indicates whether the window is on the currently active space.
SDK
- macOS 10.6+
Framework
- App
Kit
Declaration
var isOnActiveSpace: Bool { get }
Discussion
The value of this property is true
if the window is on the currently active space; otherwise, false
. For visible windows, this property indicates whether the window is currently visible on the active space. For nonvisible windows, it indicates whether ordering the window onscreen would cause it to be on the active space.