Removes the specified constraint from the view.
- iOS 6.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The constraint to remove. Removing a constraint not held by the view has no effect.
When developing for iOS 8.0 or later, set the constraint’s
is property to
false instead of calling the
remove method directly. The
is property automatically adds and removes the constraint from the correct view.