Published in


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 😍)



-- is all about sharing knowledge by practical means. We focus on solving real world challenges via code.

Recommended from Medium

Swift : Grand Central Dispatch Tutorial

How to make your own native library bindings with Dart FFI

iOS/Swift Series: [#01] Variables

Upgrading to MacOS Monterey

16 Useful Extensions for SwiftUI

An A-to-Z Guide to iOS Activity Indicators

Migrating Project From Carthage to SPM.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


DevTechie creates tutorials at Also video courses on: and courses on:

More from Medium

GroupBox in SwiftUI

Navigation View Style in SwiftUI

SwiftUI Tutorial — How to use a ProgressView with URLSession

Interactive View Corners in SwiftUI