swift - How to explain leading gap when the constrain has a 0 setting -


i new xcode 6 auto layout. in screen shot set "scroll view.leading equal superview leading margins" , constant 0. expect internal view appears no leading gap.

however there leading gap in storyboard.

  1. how explain gap?

  2. how should correctly set constrains gap go away?

enter image description here

it's because constraint set "superview.leading margin". deselect "relative margin" in dropdown menu.


Comments

Popular posts from this blog

cakephp - simple blog with croogo -

How to group boxplot outliers in gnuplot -

bash - Performing variable substitution in a string -