Instance Property

windows

The windows associated with the scene.

Declaration

var windows: [UIWindow] { get }

Discussion

Use this property to retrieve the windows associated with the scene. To remove the window from the current scene, or move it to a different scene, change the value of the window's windowScene property.

See Also

Getting the Active Windows

var screen: UIScreen

The screen that displays the contents of the scene.

Beta

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