UIView.UpdateConstraintsIfNeeded UIView.UpdateConstraintsIfNeeded Method


Updates the constraints of the UIView and its Subviews.

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


Application developers should not overide this method.

This method is called by the Auto Layout system during layout. Application developers may invoke it to ensure that constraints are current.

Applies to