Edit

Share via


UIView.InvalidateIntrinsicContentSize Method

Definition

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

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

Remarks

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