UIView.RequiresConstraintBasedLayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.