How to ignore the Safe Area edges in a typical layout with a background | SwiftUI tutorial

Опубликовано: 12 Сентябрь 2022
на канале: SwiftUI IO
417
2

SwiftUI automatically makes your content fit within the bounds of the safe area. For background elements and some layout cases, you can ignore those edges by using ignoreSafeArea.

https://www.swiftuiio.com/2022/09/sec...

What is the Safe Area?

To understand how Safe Area works in iOS, I suggest reading about Adaptivity and Layout in the Apple Human Interface Guidelines. It is the content space that does not overlap with the status bar, notch and home indicator spaces.

#swiftui
#swiftuitutorial
#swiftuideveloper
#swiftuiio