I make responsive skinning to support all iPhones from 4S till 6+. I have 2 labels and 3 buttons on one screen and I want to auto shrink them by using minimum font scale option and of course constraints. It is worth noting that for activate a flexibility of the text there one's needed to set line breaks option to any 'truncate' not a 'wrap'. But there I have an interesting issue: how I should to configure my 'Content Compression Resistance Priority' & 'Content Hugging Priority' to auto shrink both labels while I can't set the same 'Content Hugging Priority' value? Currently I can only set different priorities for labels and then one of them applied shrinking but another don't.
Asked
Active
Viewed 404 times
1 Answers
0
This problem solved by setting equal height of 2nd label to 1st label corresponding to this explanation from Apple Documentation: Auto Layout by Example

Igor Leonovich
- 458
- 4
- 13