When I add subview to root ViewController's view, and with auto layout setup leadingSpace,trailingSpace,topSpace and bottomSpace to zero, there are appear some extra spaces on left and right sides (so if I print subview's frame its origin will be 16 and size less on 32 than should be).
So actually we get that leading and trailing spaces are not zeros...
As you can see on picture leading space - zero, but origin.x = 16
Earlier I wasn't working hard with auto layout, so my question is:
Is it a bug of new Xcode or a feature?
P.S. All frames and constraints updated.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…