Menu

Colin Devroe

Reverse Engineer. Blogger.

iPhone X’s new margins

September 20, 2017

Brian Voong on his excellent YouTube channel Let’s Build That App:

With the introduction of iPhone 10, we as developers are now faced with another option for our apps to be displayed in. Fortunately, Apple has provided us with the necessary APIs to get around the unsafe regions of this phone. We do this by using the new safeAreaLayoutGuide anchors in our code. Enjoy.

Great overview of the very easy to implement adjustments.

Side note: If you’re jumping into iOS development I highly recommend subscribing to this channel and going back through his videos. It is a trove.

Leave a Reply