Post

Replies

Boosts

Views

Activity

Reply to Using Glass in SwiftUI Crashes with Missing Weak Symbol
Same thing happens to our users, but somehow only on iPhone 11 with iOS 26 installed. The error message is exactly the same. In our case we have a menu with a label that has a glass effect on iOS 26: private var sizeSelector: some View { Menu { // ... } label: { if #available(iOS 26.0, *) { HStack(spacing: 8) { // ... } .glassEffect(.regular.tint(.secondaryBackground.opacity(0.8)).interactive(), in: .capsule) } else { HStack(spacing: 8) { // ... } .background(Color.secondaryBackground) .clipShape(RoundedRectangle(cornerRadius: 12)) .tint(.primaryText) } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’25