In Interface Builder, I use a horizontal UIStackView and want to place the items as this :
xx xx xx
every x symbolize an item. Item1 and
stackView.setCustomSpacing(32.0, after: headerLabel)
For more info: Stack View Custom Spacing