Edytuj

Udostępnij za pośrednictwem


UIView.UpdateConstraintsIfNeeded Method

Definition

Updates the constraints of the UIView and its Subviews.

[Foundation.Export("updateConstraintsIfNeeded")]
[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
Attributes

Remarks

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