Рет қаралды 26,738
In this video we will review the Apple documentation on how Safe Area Insets work and then explore how to manage them within our iOS application. We will also discuss when to ignore the safe area insets to allow our View to extend to the edges of the screen.
***NOTE: As explained at the end of the video, Apple has deprecated the .edgesIgnoringSafeArea() modifier that I use throughout most of this video. Instead, we should now use the .ignoresSafeArea() modifier. We can still include the "edges" in the parameter if needed, by calling .ignoresSafeArea(edges: ).
Next video: • How to add Buttons to ...
Last video: • LazyVGrid, LazyHGrid, ...
🤙 WELCOME BACK 🤙
WEBSITE: www.swiftful-thinking.com
DISCORD: / discord
GITHUB: github.com/SwiftfulThinking/
SAY THANKS: www.buymeacoffee.com/nicksarno