New in SwiftUI 3: SafeAreaInset in SwiftUI 3 and iOS 15
Another new feature introduced in SwiftUI 3 is
safeAreaInset(edge:alignment:spacing:content:) . It provides a way for views to show view beside the modified view.
Last sentence made me dizzy 😵💫 so let’s look at an example.
In this example, we will take another look at DevTechie Course app where our home page displays courses from DevTechie(again that’s me 😍)