Post

Replies

Boosts

Views

Activity

Reply to Text labels not displaying full text when in stack view
How are you configuring the labels? Remember to set the numberOfLines to 0 if you want to display all the text. If that does not work, check your layout constraints to see if if the label (and parent stack view) is being compressed, if so, set the compression resistance priority on the label to ensure it gets priority in being its own size let label = UILabel() label.numberOfLines = 0 /* compression resistance */ label.setContentCompressionResistancePriority(.required, for: .vertical)
Jun ’20