ios - "Add New Constraints" why -16 on the left and right, and not 0? -


ive noticed since xcode 6 , introduction of ios8 when go pin uiview type fill frame checkbox has -16 left , right, why not 0. because want 0 spacing. wondering -16 come from?

enter image description here

apple suggest margin inside uiview of 16pt inside. apple put prevent labels, images, etc.. in edges of screen. if want in edge have 2 ways

1-. add constraints -16 work, don't

2-. uncheck constraint margin, , have 0

this happened on main uiview

i recommend uncheck 'constraint margin' if want view on both edges


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -