UIViewController.UpdateViewConstraints UIViewController.UpdateViewConstraints Method


Called when the UIViewController needs to recalculate its layout constraints.

[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


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

Applies to