Edytuj

Udostępnij za pośrednictwem


UIView.RemoveConstraint(NSLayoutConstraint) Method

Definition

Removes an Auto Layout constraint from the UIView's Constraints.

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

Parameters

constraint
NSLayoutConstraint

The NSLayoutConstraint to be removed.

Attributes

Applies to

See also