Home / IOS Development / Xcode Auto layout “does not work” ?? : iOSProgramming

Xcode Auto layout “does not work” ?? : iOSProgramming



I created two labels and left their limitations as follows:

– 150 for right and left (center adjusted)

– the lower label set to the bottom safe area,

– top label set to the top safe area

– vertical distance between the two labels.

As soon as I change the device, the whole thing goes out, and the labels go all over the screen (even off screen!).

I’ve seen every tutorial on Youtube, and it seems so straight forward? I added all the restrictions but it does not work T_T What am I doing wrong here ??

r / iOSProgramming - Xcode Auto layout

Source link