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