Edytuj

Udostępnij za pośrednictwem


NSLayoutConstraint.DeactivateConstraints(NSLayoutConstraint[]) Method

Definition

Deactivates all of the constraints passed.

[Foundation.Export("deactivateConstraints:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void DeactivateConstraints (UIKit.NSLayoutConstraint[] constraints);
static member DeactivateConstraints : UIKit.NSLayoutConstraint[] -> unit

Parameters

constraints
NSLayoutConstraint[]

Constraints to deactivate.

Attributes

Remarks

This method has the same effect as setting the Active property to false.

Applies to