Evgeniy Kleban Evgeniy Kleban - 1 year ago 118
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?

Answer Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download