[IOS] AutoLayout 정리
AutoLayout?Autolayout은 동적으로 뷰 계층 구조에 있는 모든 뷰의 크기와 위치를 계산합니다.기본적으로 constraints를 설정하여 View의 크기를 계산하여 배치하게 됩니다.Top, Bottom, Leading, Trailing Constraints를 설정할 수 있습니다.아래 AspectRatio는 비율로 아이템 너비,높이를 설정할 수 있고,Equal Widths/Heights는 두 개의 아이템의 너비, 높이를 같게 설정할 수 있습니다. Constraint를 설정하게되면 Inspector에서 이렇게 확인 할 수 있습니다. Relation → 기본으로 Equal으로 되어있는데 ≤, ≥ 도 설정할 수 있습니다. Constant → AddNewConstraint를 할 때 설정하는 상수 값을..