About shadow

Hi, I have one question. The following shadow is shown on the simulator whether it is set in the ContentView of the Window in visionOS or not. https://developer.apple.com/documentation/SwiftUI/View/shadow(color:radius:x:y:)

Even if I define the shadow in the ContentView and change the color, radius, x, and y, there is no change at all.

I think that shadow is not enabled. Is this because it is a visionOS simulator?

Best regards.

Sadao Tokuyama

https://1planet.co.jp/

https://twitter.com/tokufxug

About shadow
 
 
Q