watchOS Smart Stack widget background

A watchOS widget requires you set a container background:

.containerBackground(for: .widget) {
			Color.black
		}

But I see some .accessoryRectangular widgets, on the Smart Stack, using a glass background. From what I know there is no way to set this using .containerBackground. Does anyone know how to do this?

Thank you

Does making the background translucent by using thinMaterial or ultraThinMaterial, or using an image as the background, work for you?

If not, would you mind to provide a screenshot to show what kind of background you would like to achieve?

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Like how these two widgets have a liquid glass background, I haven't been able to find a way to set this myself.

Thank you

Thanks for sharing the screenshots. There is currently no API to achieve the liquid glass effect background.

Do you have a feedback report yet? If not, would you mind to file one and share your report ID here? Thanks.

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

Thank you, feedback ID is FB22059614.

watchOS Smart Stack widget background
 
 
Q