Post

Replies

Boosts

Views

Activity

Reply to Widget link broken by `.desaturated` image rendering mode
On iOS 26, the suggested workarounds no longer work. However, thanks to this mastodon post (https://mastodon.social/@jayrhynas/115208669458469304) I was able to find yet another workaround that works on iOS 26 (haven't tested older OSes): Link(destination: deepLink) { VStack() { // Wrapped Color.clear in yet another Link - workaround for .widgetAccentedRenderingMode(.desaturated) breaking links Link(destination: deepLink) { Color.clear }.background { Image(image) .resizable() .widgetAccentedRenderingMode(.accentedDesaturated) } Text("Open app") // Text in link is working fine } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
3d