autoresizing

    translatesAutoresizingMaskIntoConstraints

    translatesAutoresizingMaskIntoConstraints View에 AutoLayout을 코드로 작성할 경우 작성한 View의 translatesAutoresizingMaskIntoConstraints을 false로 만들어줘야 제대로 layout이 잡히게 된다. 항상 당연하다고 생각해 작성했는데, 왜 이 설정이 false로 되어야 제대로 layout이 잡히는지 알아보진 않은 것 같아 찾아보게 되었다. A Boolean value that determines whether the view’s autoresizing mask is translated into Auto Layout constraints. apple 공식 문서에는 autoresizing mask를 auto layout cons..