With iOS 18, when you tint Home Screen, the widgets also need to pick up the tint. How do you detect this within SwiftUI?
I didn't see WWDC24 sessions addressing this.
It isn’t covered because it isn‘t a new mode. It is just new to the Home Screen. The answer to your question depends on which thing you are referring to.
if you need to know in your code that you are in the tinted mode, to choose a different image for instance, you can check the widgetRenderingMode environment variable
when it is in the tinted mode, this should be accented
if you are specifically asking about how to color something in the accent color, you just need to add the widgetAccentable()
modifier to what ever view you want to take on the accent color