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

php - Passing multiple values in a url using checkbox -

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

sql - Postgresql tables exists, but getting "relation does not exist" when querying -