<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "swift: 5.1.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIViewInvalidating/invalidate(view:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit18UIViewInvalidatingP10invalidate4viewySo0B0C_tF"
  },
  "title" : "invalidate(view:)"
}
-->

# invalidate(view:)

Indicates to the system that an aspect of a view is invalid and triggers the necessary update.

```
func invalidate(view: UIView)
```

## Parameters

`view`

The view that requires invalidating.

## Discussion

A type that conforms to [`UIViewInvalidating`](/documentation/UIKit/UIViewInvalidating) implements this method to perform any actions necessary to notify the system that an aspect of your view is invalid. For more info, see [`UIView.Invalidating`](/documentation/UIKit/UIView/Invalidating).

---

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)