Currently we get a free opaque white/black background for swiftUI modal. Is there anyway to remove the free opaque color and make the modal view transparent?
In the image below, the end result should be able to see the image even with modal presented.
based on this code snippet you can create
viewcontroller
extension and modify your presentation. here is modified code:Your SwiftUI ContentView: