An Extension for Safe Area Layout Guides

Chris
Chris
Jul 13 · 2 min read

Safe Area Layout Guides to the rescue!

A small extension does the job

child.topAnchor.constraint(equalTo: view.safeTopAnchor)

fin

Chris

Written by

Chris

I’m a Software Engineer from Düsseldorf. Passionate about programming languages & technologies with vocation for agile topics.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade