Instance Property

keyWindow

The app's key window.

Declaration

var keyWindow: UIWindow? { get }

Discussion

This property holds the UIWindow object in the windows array that is most recently sent the makeKeyAndVisible() message.

See Also

Getting App Windows

var windows: [UIWindow]

The app's visible and hidden windows.