Instance Property

windows

The app's visible and hidden windows.

Declaration

var windows: [UIWindow] { get }

Discussion

This property contains the UIWindow objects currently associated with the app. This list does not include windows created and managed by the system, such as the window used to display the status bar.

The windows in the array are ordered from back to front by window level; thus, the last window in the array is on top of all other app windows.

See Also

Getting App Windows

var keyWindow: UIWindow?

The app's key window.