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?

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
Post a Comment