UIView.HasAmbiguousLayout Property
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.
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.