Contents

isOnActiveSpace

A Boolean value that indicates whether the window is on the currently active space.

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.

See Also

Configuring the Window’s Appearance