When I add a subview to the root view of the ViewController and with the leadingSpace, trailingSpace, topSpace and bottomSpace auto layout set to zero, extra spaces appear on the left and right sides (so if I print the frame of the subframes, it will be 16 and the size is 32 smaller. what should be). So in fact we get that the initial and final spaces are not zeros ...

As you can see in the picture, the leading space is zero, but origin.x = 16
I used to not work with auto layout, so my question is: Is this a new xCode or function error?
PS Updated all frames and restrictions.
ios autolayout xcode6 storyboard uistoryboard
Mikhail 06 Sep '14 at 15:50 2014-09-06 15:50
source share