Upravit

Sdílet prostřednictvím


UIViewController.UpdateViewConstraints Method

Definition

Called when the UIViewController needs to recalculate its layout constraints.

[Foundation.Export("updateViewConstraints")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void UpdateViewConstraints ();
abstract member UpdateViewConstraints : unit -> unit
override this.UpdateViewConstraints : unit -> unit
Attributes

Remarks

This method allows application developers to add or remove layout constraints dynamically. Application developers who override this method must call base.UpdateViewConstraints().

Applies to