AutoLayout> greater than or equal

2444456-46b47664ddb8858e.png
image.png
1. The use of greater than or equal
2444456-cee69813efb4760b.png
image.png

Block width is not fixed green, orange right block> = 10, i.e. orange block width not more than the screen width - from left + green + orange orange left from the right distance.
1. As many orange text block, the text block a lot of green, the following results


2444456-6edffa9b1dafc7cd.png
image.png

Greater than tantamount orange blocks, the priority is orange blocks.
2. The text block a lot of green, orange block text little, the effect is as follows


2444456-20fc966995437c60.png
image.png

3. If the text is very little, the effect is as follows
2444456-559a9f3447aae3b1.png
image.png
1. The use of less

Or less on the contrary, orange block width smaller than the width of the screen can not - from left + green + orange orange left from the right distance.


2444456-9a5795a3b451e0db.png
image.png

Orange right <= 10> = 10 is not exceeded, and that is> = the opposite


2444456-e075cc2176bc34de.png
image.png

So are generally used> =

Reproduced in: https: //www.jianshu.com/p/9ab37999f255

Guess you like

Origin blog.csdn.net/weixin_33727510/article/details/91230175