سؤال

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