Edytuj

Udostępnij za pośrednictwem


UIView.ExerciseAmbiguityInLayout Method

Definition

Randomly changes the Frame within an ambiguous set of Auto Layout constraints.

[Foundation.Export("exerciseAmbiguityInLayout")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ExerciseAmbiguityInLayout ();
abstract member ExerciseAmbiguityInLayout : unit -> unit
override this.ExerciseAmbiguityInLayout : unit -> unit
Attributes

Remarks

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

This method should be used with an under-constrained (ambiguous) Auto Layout. When called, it varies the Frame among its valid values, providing visual cues to assist the application developer in determining needed constraints.

Applies to

See also