Dynamic island on a ios app

I want to make a app that indicates that the app is recording in the background using a indicator on the dynamic island or on the top of the phone screen but i can't figure it out on Xcode. Saw a guy do it by making live activities true but can't seem to find that option in background mode in capabilities. any ideas?

You don't need any special "capabilities", you only need WidgetKit. "Live Activities" are part of the WidgetKit. So use it to create a Widget Extension in which you would then implement the widget for the "live activity". Basically the WidgetConfiguration decides whether the widget is a live activity or a normal widget.

Within your App you need to use the "ActivityKit" to communicate with the live activity widget (activate the live activity, tell it which data it should show etc)

Dynamic island on a ios app
 
 
Q