UIView.RemoveConstraint(NSLayoutConstraint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Constraints
- <xref:UIKit.UIView.AddConstraint>
- <xref:UIKit.UIView.AddConstraints>
- <xref:UIKit.UIView.RemoveConstraints>
- TranslatesAutoresizingMaskIntoConstraints