HomeiOS DevelopmentWhy would not .glassEffect tint render on a Menu in an iOS...

Why would not .glassEffect tint render on a Menu in an iOS 26 toolbar?


That is what I’m attempting to realize (from the Telephone app, related one can be in Photographs)

Why would not .glassEffect tint render on a Menu in an iOS 26 toolbar?
enter image description here

I’ve a normal SwiftUI Menu in a toolbar with a glass tint utilized to point the filter is energetic:

Menu {
    // …filter choices
} label: {
    Label("Filter", systemImage: "line.3.horizontal.lower")
}
.glassEffect(.common.tint(.accentColor).interactive())

The glass impact would not render in any respect, no tint. The button seems fully unstyled.

If I change the label from Label to Picture, the glass renders, however as a stretched rectangular tablet.

I’ve tried a number of different combos too:
enter image description here

Additionally within the Apple’s model throughout hover (iPad) the spotlight aligns with the tint itself (see second picture above) fairly than exterior it like in instance 3 from the checklist above:

enter image description here

Is there a technique to get a Menu’s set off inset tint to look as within the Telephone app instance?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments