When putting multiline label (with linebreak set to Word Wrap) into a stack view, the label immediately loses the linebreak and displays the label text in one line instead.<
The magic trick for me was to set a widthAnchor to the UIStackView.
widthAnchor
UIStackView
Setting leadingAnchor and trailingAnchor won't work, but setting centerXAnchor and widthAnchor made the UILabel display correctly.
leadingAnchor
trailingAnchor
centerXAnchor