---
title: "windowScene(_:didUpdateEffectiveGeometry:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiwindowscenedelegate/windowscene(_:didupdateeffectivegeometry:)"
---

# windowScene(_:didUpdateEffectiveGeometry:)

Called when the window scene’s effective geometry has changed.

## Declaration

```swift
optional func windowScene(_ windowScene: UIWindowScene, didUpdateEffectiveGeometry previousEffectiveGeometry: UIWindowScene.Geometry)
```

## Discussion

Discussion Always called when a UIWindowScene moves between screens.
