Domanda

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 ?

È stato utile?

Soluzione

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

Altri suggerimenti

try to uncheck the Auto Layout option like below

enter image description here

i think it will help you..

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top