UIView.InvalidateIntrinsicContentSize Method


Alerts the Auto Layout system that the intrinsic value of the UIView has changed.

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


Application developers should call this method when they have overridden IntrinsicContentSize and something has happened to change the value of that property. The Auto Layout system will use the new property in its next layout pass.

Applies to