swift - How to explain leading gap when the constrain has a 0 setting -
this question has answer here:
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.
how explain gap?
how should correctly set constrains gap go away?

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