iOS) StackView에 여백 추가하기

stackView.isLayoutMarginsRelativeArrangement = true
stackView.directionalLayoutMargins =  NSDirectionalEdgeInsets(top: 10, leading: 10, bottom: 10, trailing: 10)

🔖 참고

좋은 웹페이지 즐겨찾기