UIView.ExerciseAmbiguityInLayout Method


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

[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


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