How do you round the corners of images in the widget extension?

Hello
i tried all regular SwiftUI means to round corners of images in the view of a widget extension. Just like it’s shown in the Apple News App. But none of the methods work.

How do you round the corners of images in a widget extension?
You can apply this modifier to the image
.clipShape(ContainerRelativeShape())
to get the desired corner rounding that Apple suggests.
How do you round the corners of images in the widget extension?
 
 
Q