Uistackview Insets

[Solved] Uistackview Insets | Swift - Code Explorer | yomemimo.com
Question : uistackview insets

Answered by : valeriya-pekar

stackView.layoutMargins = UIEdgeInsets(top: 0, left: 20, bottom: 0, right: 20)
stackView.isLayoutMarginsRelativeArrangement = true

Source : https://stackoverflow.com/questions/32551890/how-to-add-leading-padding-to-view-added-inside-an-uistackview | Last Update : Thu, 14 Apr 22

Answers related to uistackview insets

Code Explorer Popular Question For Swift