---
title: needsUpdateConstraints()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiview/needsupdateconstraints()
---

# needsUpdateConstraints()

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

## Declaration

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

## Return Value

Return Value true if the view’s constraints need updating, false otherwise.

## Discussion

Discussion The constraint-based layout system uses the return value of this method to determine whether it needs to call updateConstraints() on your view as part of its normal layout pass.

## See Also

### Triggering Auto Layout

- [setNeedsUpdateConstraints()](uikit/uiview/setneedsupdateconstraints().md)
- [updateConstraints()](uikit/uiview/updateconstraints().md)
- [updateConstraintsIfNeeded()](uikit/uiview/updateconstraintsifneeded().md)
