UIView.NeedsUpdateConstraints Method


Indicates that the Auto Layout constraints of the UIView need updating.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool NeedsUpdateConstraints ();
abstract member NeedsUpdateConstraints : unit -> bool
override this.NeedsUpdateConstraints : unit -> bool


If this method returns true, the Auto Layout system will call UpdateConstraints() during its layout pass.



This method is checked by the Auto Layout system to determine if the Constraints for this UIView need updating. If this method returns true, the method UpdateConstraints() will be called and should perform the updates.

Applies to

See also