Contents

effectiveGeometry

The current values for the window scene’s geometry in system space.

Declaration

var effectiveGeometry: UIWindowScene.Geometry { get }

Discussion

This property is key-value observing (KVO) compliant. Observing effectiveGeometry is the recommended way to receive notifications of changes to the window scene’s geometry. These changes can occur because of user interaction or as a result of the system resolving a geometry request.

See Also

Working with window geometry