needsUpdateConstraints()
A Boolean value that determines whether the view’s constraints need updating.
Declaration
func needsUpdateConstraints() -> BoolReturn Value
true if the view’s constraints need updating, false 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.