Post

Replies

Boosts

Views

Activity

Reply to .glassEffect() renders dark on device but works on simulator - TestFlight doesn't fix it
Thanks Richard. Here are the screenshots and code. struct ContentView: View { var body: some View { ZStack { LinearGradient(colors: [.pink, .orange, .yellow], startPoint: .top, endPoint: .bottom) .ignoresSafeArea() Text("Test") .padding() .glassEffect() } } } Screenshots attached: GlassTest app on physical device - dark/muddy gray (incorrect) GlassTest app on Simulator - light/frosted (correct) Apple Music tab bar on same device - renders correctly My actual app (Ripple) - same dark/gray issue M y actual app (Ripple) - same dark/gray issue
Topic: UI Frameworks SubTopic: SwiftUI Tags:
1w