faberNovel / DynamicOverlay

A SwiftUI library that makes easier to develop overlay based interfaces, such as the one presented in the Apple Maps app.
MIT License
210 stars 20 forks source link

Fix UIHostingController to have clear background #5

Closed stleamist closed 3 years ago

stleamist commented 3 years ago

I have fixed UIHostingController<OverlayContentHostingView> to have a transparent background color, which has a white as a default background color. This allows the overlay contents to have a corner radius like below:

gaetanzanella commented 3 years ago

Great, thanks!