This is an automated archive made by the Lemmit Bot.
The original was posted on /r/swiftui by /u/vossome-dad on 2025-07-29 16:07:18+00:00.
Hi gang — I am currently updating my app for iOS 26. We already had a UI design from last year that relies heavily on custom views (buttons, timers) overlaying list-based content and we used .ultraThinMaterial with some coloring to achieve the desired look. Imagine our excitement when .glassEffect and .tints were announced! And that part looks great already.
But … that obviously locks out anyone who doesn’t update to iOS 26. So my pseudocode thought is a sort of “IF iOS26 or greater, use .glassEffect(with these parameters), ELSE use .ultraThinMaterial(similar parameters)” but I’m not getting anywhere trying to adapt that to dot notation on views like buttons and overlays. And truth be told I am 90% designer and 10% coder so I am relying a lot on the ChatGPT integration in Xcode 26 which is just awful at knowing the first thing about .glassEffect to begin with.
I thought I would find more posts here discussing a common approach, but perhaps this is easy for more seasoned developers? What do we think a good, streamlined approach might be, or do I need to just relay on my (admittedly small) user-base upgrading?