Instance Property

constraints

The constraints held by the view.

Declaration

@property(nonatomic, readonly) NSArray<__kindof NSLayoutConstraint *> *constraints;

See Also

Managing the View’s Constraints

- 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.

- removeConstraint:

Removes the specified constraint from the view.

- removeConstraints:

Removes the specified constraints from the view.