편집

다음을 통해 공유


UIView.RequiresConstraintBasedLayout Method

Definition

Indicates that the UIView uses Auto Layout.

[Foundation.Export("requiresConstraintBasedLayout")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool RequiresConstraintBasedLayout ();
static member RequiresConstraintBasedLayout : unit -> bool

Returns

The default value is false.

Attributes

Remarks

Application developers should override this method to return true if their UIView relies on Auto Layout.

Applies to