With UIStackView you can pin a stack view to the bottom, leading, and trailing constraints of the superview and the height will be set by the intrinsic content size of the contents.
Put three labels in and change the fonts and text etc... and the UIStackView will resize to fit them in properly.
OAStackView first throws an error in IB saying it needs the 4th constraint and then at run time it will keep the same frame as was given at design time. It doesn't update its frame based on its content.
With UIStackView you can pin a stack view to the bottom, leading, and trailing constraints of the superview and the height will be set by the intrinsic content size of the contents.
Put three labels in and change the fonts and text etc... and the UIStackView will resize to fit them in properly.
OAStackView first throws an error in IB saying it needs the 4th constraint and then at run time it will keep the same frame as was given at design time. It doesn't update its frame based on its content.