---
title: viewDidChangeEffectiveAppearance()
framework: swiftui
role: symbol
role_heading: Instance Method
path: swiftui/nshostingview/viewdidchangeeffectiveappearance()
---

# viewDidChangeEffectiveAppearance()

## Declaration

```swift
@MainActor @preconcurrency override dynamic func viewDidChangeEffectiveAppearance()
```

## See Also

### Managing the view hierarchy

- [viewWillMove(toWindow:)](swiftui/nshostingview/viewwillmove(towindow:).md)
- [viewDidMoveToWindow()](swiftui/nshostingview/viewdidmovetowindow().md)
- [viewDidChangeBackingProperties()](swiftui/nshostingview/viewdidchangebackingproperties().md)
