Question

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 ?

Was it helpful?

Solution

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

OTHER TIPS

try to uncheck the Auto Layout option like below

enter image description here

i think it will help you..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top