Instance Property


A Boolean value indicating whether the view’s autoresizing mask is translated into constraints for the constraint-based layout system.


@property BOOL translatesAutoresizingMaskIntoConstraints;


When this property is set to YES, the view’s superview looks at the view’s autoresizing mask, produces constraints that implement it, and adds those constraints to itself (the superview). If your view has flexible constraints that require dynamic adjustment, set this property to NO and apply the constraints yourself.

See Also

Opting In to Auto Layout


Returns a Boolean value indicating whether the view depends on the constraint-based layout system.