문제

I'm trying Auto layout for the first time and I'm stuck.

I would like an UIPageControl get stick to the bottom of my screen for 3.5 inch and 4 inch screen. I tried to apply a Bottom Space to Container constraint but it doesn't work. My 3.5 inch screen doesn't display it.

enter image description here

Do you know what am I doing wrong ?

도움이 되었습니까?

해결책

You should do something like that :

enter image description here

Take care to put constraint to your parentView if it's not the root view of your UIViewController

다른 팁

try to uncheck the Auto Layout option like below

enter image description here

i think it will help you..

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top