Contents

canBecomeKey

A Boolean value that indicates whether the window can become the key window.

Declaration

var canBecomeKey: Bool { get }

Discussion

The default value is true. To indicate that the window can’t become the key window, override canBecomeKey and return false.

See Also

Making windows key