Episode 3 - Auto Layout and iPhone X Safe Areas

Running time: ~26 minutes

Author's Description:

Safe Areas inside the iPhone X are meant to help you layout your views correctly so they don't fall underneath the notch areas of your screen. Today we discuss the technique of anchoring on our UIViewController's safe areas using layout guides. In addition, I'll go over how to use a UIStackView to make our lives a lot easier in terms of adding in buttons at the bottom. Have fun.

Useful links:

Get the source code for this project:

https://www.letsbuildthatapp.com/course_video?id=1802

justCode Editor Notes:

With the introduction of the iPhone X (10 - I know!) we need to take into account the safe areas for the notch and rounded corners. Learn about them to make sure your app works when it ships.

This video is part of a series:

Get started with Auto Layout programmatically

In this course you'll gain an insight on how to work with Auto Layout programmatically.

About the Author

Lets Build That App

Brian Voong, a professional instructor and developer, runs you through how to build the most popular apps on the App Store today - YouTube, Facebook and Twitter to name a few.

Learn with Brian and see how the professional code major apps.