---
title: translatesAutoresizingMaskIntoConstraints
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/translatesautoresizingmaskintoconstraints
---

# translatesAutoresizingMaskIntoConstraints

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

## Declaration

```swift
var translatesAutoresizingMaskIntoConstraints: Bool { get set }
```

## Discussion

Discussion When this property is set to true, 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 false and apply the constraints yourself.

## See Also

### Opting In to Auto Layout

- [requiresConstraintBasedLayout](appkit/nsview/requiresconstraintbasedlayout.md)
