Set a spacing before the first and after the last view inside a UIStackView
We can set spacing between UIStackView's arranged subviews easily by setting the spacing for the UIStackView. But to give a padding before the first item and after the last item, the easiest way seems to be setting layout margins for the UIStackView
No comments:
Post a Comment