Instance Method

needsUpdateConstraints

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

Declaration

- (BOOL)needsUpdateConstraints;

Return Value

YES if the view’s constraints need updating, NO otherwise.

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

Controls whether the view’s constraints need updating.

- updateConstraints

Updates constraints for the view.

- updateConstraintsIfNeeded

Updates the constraints for the receiving view and its subviews.