Instance Property


The app's visible and hidden windows.


@property(nonatomic, readonly) NSArray<__kindof UIWindow *> *windows;


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


The app's key window.


Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software