SwiftUI Form under macOS looks like iOS

I have been migrating from old UiKit to use SwiftUI form, I use of course .formStyle(.grouped). Only issue that I'm having is that under macOS the forms looks a bit like iOS and I didn't find any way to make it look like it was shown on the WWDC with a gray transparent background. Is this not supported out of the box and I need to write a custom code to achieve that look ? or am I missing a configuration ?

This is how my current form looks like on macOS :

I Would wish if I could make it look like:

I do use the same formStyle and Form element but the look is different the background is while and not gray transparent.

Do you use macOS as the target, or do you run your unmodified iOS App on MacOS? Because on native macOS Applications, your code will work as expected. Hope that helps!

SwiftUI Form under macOS looks like iOS
 
 
Q