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:
Dec ’25
Reply to Handling cancel button in SwiftUI PhotoPicker (inline)
I'm also having this issue. In the app I'm working on, the PhotosPicker is contained .inline in a thin View wrapper without any additional UI and the wrapper View is presented as a sheet. I would really appreciate to have the default Cancel button working with our .sheet presentation. But it's not. Any hints how to do that?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jan ’24
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:
Replies
Boosts
Views
Activity
Dec ’25
Reply to Handling cancel button in SwiftUI PhotoPicker (inline)
I'm also having this issue. In the app I'm working on, the PhotosPicker is contained .inline in a thin View wrapper without any additional UI and the wrapper View is presented as a sheet. I would really appreciate to have the default Cancel button working with our .sheet presentation. But it's not. Any hints how to do that?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24