Automatically change auto layout

I need to show 3 shortcuts like

LABEL1 | LABEL2 | Label3 //Horizontally

I want these 3labels of width to be split according to screen width

How can I achieve this using the nib file directly?

thanks

Question 2

Label1 | Label2 | Lable3

// All label widths are equal

// All shortcuts are subzones of the view view X

Label1: height 100

Label2: height is 150

Label3: height 300

Q: Now I want the height of the view X to be maximum (100 150 300) = 300

0
source share
1 answer

Just give top, left , right, height and equal width limits for all the labels ....

enter image description here

enter image description here

+6
source

Source: https://habr.com/ru/post/1245604/


All Articles