Contents

removeConstraint(_:)

Removes the specified constraint from the view.

Declaration

func removeConstraint(_ constraint: NSLayoutConstraint)

Parameters

  • constraint:

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

See Also

Managing the View’s Constraints