Evgeniy Kleban Evgeniy Kleban - 7 months ago 70
iOS Question

Auto Layout extra spacing

I set my UI elements with offsets 0(left), 0(right). However, there are extra spacing on this sides. Please take a look at screen:

enter image description here

How to fix that?


You'll want to make sure you don't have Constrain to Margins ticked when you set your constraint.

I've attached a screen shot.

enter image description here