Contents

isVerticalContentSizeConstraintActive

A Boolean value that indicates whether the view’s vertical size constraints are active.

Declaration

var isVerticalContentSizeConstraintActive: Bool { get set }

Discussion

Setting this property to false lets Auto Layout optimize layout operations by ignoring the view’s intrinsic content size. The default value of this property is true, which causes the system to take the view’s content size into account.

See Also

Enabling and Disabling Constraints