Shanto George Shanto George - 19 days ago 6
Swift Question

Put margin between elements in IOS stack view

I am new in IOS and I want a login screen that contain user name and password text field and a button. I add all this fields in a stack view and the margin between the components gone.How can I put margin between elements in IOS stack view?

Answer

Select the stackView and set spacing. enter image description here