Instance Method

removeConstraint:

Removes the specified constraint from the view.

Declaration

- (void)removeConstraint:(NSLayoutConstraint *)constraint;

Parameters

constraint

The constraint to remove. Removing a constraint not held by the view has no effect.

See Also

Managing the View’s Constraints

constraints

Returns the constraints held by the view.

- addConstraint:

Adds a constraint on the layout of the receiving view or its subviews.

- addConstraints:

Adds multiple constraints on the layout of the receiving view or its subviews.

- removeConstraints:

Removes the specified constraints from the view.