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
Tuesday, July 31, 2018
Wednesday, July 11, 2018
UIStackView not showing some of the subViews
When a sub view of a UIStackView doesn't have an intrinsic content size, the UIStackView might not even display it in the UI. So if your subview is missing, try applying constraints to define the position and size of the subview.
Labels:
app,
interface builder,
iOS,
mobile,
stack view not showing subview,
UI,
UIStackview,
xcode,
xib
Subscribe to:
Comments (Atom)