Member-only story

How to use Dynamic Island in SwiftUI

Combine Live Activities with the extra power of Dynamic Island to engage your app's users

4 min readSep 5, 2023

--

Image from Apple

Live activities provide us with a more engaging way for our app to interact with its users.

This is very powerful already, but we can go one step further and leverage the dynamic island for the devices that support it (currently iPhone 14 Pro & iPhone 14 Pro Max). If we have the Live Activities implementation done beforehand, adding Dynamic Island support is really easy.

Let me show you how.

This will be a continuation of my previous article regarding Live Activities. We’ll be using the same code, so I recommend you check out that article first and then come back here

Presentation types

Before coding our implementation, we need to understand the three types of presentations of the Dynamic Island that we have available.

Compact

--

--

Bruno Lorenzo
Bruno Lorenzo

Written by Bruno Lorenzo

Software Engineer | Co-creator of https://carry-on.app - A travel planner app | Former iOS Tech Lead | I write about iOS, tech, and producitivy

No responses yet