Animate a layout constraint by changing its priority value
问题 I have a label containing quite a lot of text. There's a toggle for collapsing and expanding the height of the label (here it's named "lire la suite" ) so it truncates the end of the text. I have meticulously set the vertical content hugging priority and compression resistance so the intrinsic size has higher priority over the compression resistance. The height constraint (the optional constraint directly at the right of the label) is set with a constant of 71 , just the height for 4 lines.