Freigeben über


UIView.RequiresConstraintBasedLayout Methode

Definition

Gibt an, dass das UIView automatische Layout verwendet.

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

Gibt zurück

Standardwert: false.

Attribute

Hinweise

Anwendungsentwickler sollten diese Methode überschreiben, um zurückzugeben true , wenn sie vom automatischen Layout abhängig ist UIView .

Gilt für: