編輯

共用方式為


UIView.RemoveConstraints(NSLayoutConstraint[]) Method

Definition

Removes multiple Auto Layout constraints from the UIView's Constraints.

[Foundation.Export("removeConstraints:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RemoveConstraints (UIKit.NSLayoutConstraint[] constraints);
abstract member RemoveConstraints : UIKit.NSLayoutConstraint[] -> unit
override this.RemoveConstraints : UIKit.NSLayoutConstraint[] -> unit

Parameters

constraints
NSLayoutConstraint[]

The NSLayoutConstraints to be removed.

Attributes

Applies to

See also