ios - Why the leading space is -20 when adding a constrain on super view -


i added subview inside super view. have same x-location. added leading constrain between these 2 constrain value -20. faced issue many times. don't know why seems aligned constrain -20 different.

the margins different each device size.

the right way set space between boundaries , view 0 uncheck constrain margins checkbox

enter image description here


Comments

Popular posts from this blog

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

java - Creating a room by reading from a file (for a game) -

javascript - return highlighted cells to php -