Düzenle

Aracılığıyla paylaş


UIView.HasAmbiguousLayout Property

Definition

Returns true if the Auto Layout for this UIView is ambiguous.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool HasAmbiguousLayout { [Foundation.Export("hasAmbiguousLayout")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.HasAmbiguousLayout : bool

Property Value

Returns false if the UIView's constraints are sufficient to accurately specify its alignment rectangle.

Attributes

Remarks

This is a debugging method that should not be used in production applications.

This method can be used to determine if the set of NSLayoutConstraints for a UIView are sufficient to fully determine the alignment rectangle or if they are ambiguous.

Applies to