Instance Property

isVisible

A Boolean value that indicates whether the window is visible onscreen (even when it’s obscured by other windows).

Declaration

var isVisible: Bool { get }

Discussion

The value of this property is true when the window is onscreen (even if it’s obscured by other windows); otherwise, false.

See Also

Managing Window Visibility and Occlusion State

var occlusionState: NSWindow.OcclusionState

The occlusion state of the window.