Content Hugging, Compression Resistance, Swift, iOS, Chcr Priority.
text, then the higher priority keeps its size and which has less priority will shrink within its constraints. So if I make the label with the pink color’s compression priority greater than the yellow label, it will look like below. You will see the yellow color label shrinks and the pink color