Let me trying to explain my question.I have noted from long time during app designing in Storyboard/Xib
. In all cases for eg while dragging some controls into storyboard
obviously it shows the blue lines helps to us place controls correctly.But it's seems prevent controls from UIView
(main view) layout to place edges on controller.
When we trying to place controls the blue lines prevents us from edges.see below image
But why constraints always zero even we are not placed at edges..it should be approximately 10,10,10..,
So my Qus is
Storyboard/Autolayout
preventing to place controls at edges?They are the content margins of each view which are 8 points away from its actual borders. Please check this answer, which is explained it in details. Also you can place controls in the edges, just unchecking the constrain to margins
will do that