ios - How do I get rid of the -16 when doing horizontal layout to the edge of the superview in Xcode 6? -


when try layout view edge of super view in xcode 6 storyboards constraint generated has constant of -16. why this, , how can make 0?

the -16 because constraint set against superview.trailing/leading margin not edge of superview. can fix selecting constraint , in info in top right select drop down superview item , toggle relative margin off.enter image description here


Comments

Popular posts from this blog

c# - HttpResponseMessage System.InvalidOperationException -

sql - Postgresql error: "failed to find conversion function from unknown to text" -