Auto layout: Auto auto copy multiple marks

I am making a responsive skin to support all iPhones from 4S to 6+. I have 2 shortcuts and 3 buttons on the same screen and I want them to automatically shrink them using the minimal font scaling option and of course the constraints. It is worth noting that to activate the flexibility of the text, you must set the line break option to any "truncated", not to "wrapper". But I have an interesting problem: how do I configure the Content Compression Resistance Priority and Content Limit Priority to automatically compress both labels until I can set the same Content Priority value? Currently I can only set different priorities for shortcuts and then one applied the shortcut and the other didn't.

+3


source to share


1 answer


This issue was solved by setting equal height of 2nd notch to 1st notch, matching this explanation from Apple Documentation: Auto Layout by Example



0


source







All Articles