Transparency Mode and Images in Widgets under iOS 26

Hi everyone,

so I have a widget that is loading and showing images. When changing my icons and widget to transparent or tinted on iOS 26 they just turn white or the tint color.

How can I mark images to preserve their appearance aka color? The Fotos widget has (long press and its configuration) and option to tint them or preserve the color. I just can't figure out how it's done and what API to use.

Second, is there an API to learn which mode is currently being used to tweak other elements of the UI?

Thanks for any advice.

Answered by WolfgangMuhsal in 858471022

As usual... when you get really desperate and ask the question... the rubber-duck effect kicks in.

Minutes later I found the answer myself:

.widgetAccentedRenderingMode(.fullColor)

I hope it might help someone else.

Accepted Answer

As usual... when you get really desperate and ask the question... the rubber-duck effect kicks in.

Minutes later I found the answer myself:

.widgetAccentedRenderingMode(.fullColor)

I hope it might help someone else.

Transparency Mode and Images in Widgets under iOS 26
 
 
Q