I explain two different ways to create constraints, that work in similiar way. Is there any difference between those two?
1 method: First method is cntrl+drag from UI object in storyboard. I create couple of screenshot for better understanding:
Then, if we look at created constraint property we will see following:
It says - superview leading margin. There is a line from UI object (it is a label) to left edge of screen, but its line not "touching" left edge of the screen, its truncated:
2 method: Second method is simply using XCode toolbar Editor->Pin->Leading Space to Superview:
Then we come up with following:
Obvious, my question could be applied to Trailing Space to Container Margin, top and buttom, because actions are similiar.
What is the difference between those two constraints, create by methods, described above? Is there are actualy difference, or just different names?