1
Reply

Content Hugging vs Compression Resistance in Autolayout

Pravesh Dubey

Pravesh Dubey

5y
1.2k
0
Reply

    According to apple docs: The layout priority is used to indicate to the constraint-based layout system which constraints are more important, allowing the system to make appropriate tradeoffs when satisfying the constraints of the system as a whole.
    The priority really come in to play only if two different constraints conflict. The system will give importance to the one with higher priority. So, Priority is the tie-breaker in the autolayout world.