Content Hugging, Compression Resistance, Swift, iOS, Chcr Priority.
hugging means in Xcode. So In other words, the pink view can have less width than itself. That’s why the yellow view has to have the bigger value of the width. Content Compression Resistance Priority Returns the priority with which a view resists being made smaller than its intrinsic size.