<!--
{
  "availability" : [
    "macOS: 15.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImagePlayground",
  "identifier" : "/documentation/ImagePlayground/ImagePlaygroundViewController/viewDidDisappear()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Image Playground"
    ],
    "preciseIdentifier" : "c:@M@ImagePlayground@objc(cs)ImagePlaygroundViewController(im)viewDidDisappear"
  },
  "title" : "viewDidDisappear()"
}
-->

# viewDidDisappear()

Notifies the view controller that its view is about to be removed from a
view hierarchy.

```
@MainActor @preconcurrency override dynamic func viewDidDisappear()
```

## Discussion

The view controller uses this method to remove its interface configurations.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)