<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIView/needsUpdateConstraints()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIView(im)needsUpdateConstraints"
  },
  "title" : "needsUpdateConstraints()"
}
-->

# needsUpdateConstraints()

A Boolean value that determines whether the view’s constraints need updating.

```
func needsUpdateConstraints() -> Bool
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the view’s constraints need updating, <doc://com.apple.documentation/documentation/Swift/false> otherwise.

## Discussion

The constraint-based layout system uses the return value of this method to determine whether it needs to call [`updateConstraints()`](/documentation/UIKit/UIView/updateConstraints()) on your view as part of its normal layout pass.

---

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)