On Android, we can make a screen transparent so to...
# compose-ios
m
On Android, we can make a screen transparent so to show a dialog on top of whatever launched our app. Is this possible on iOS? I can’t figure out how to do it. There’s always an opaque window.
a
You need
ComposeUIViewControllerConfiguration.opaque = true
, then configure properly presentation if the ViewController with UIKit.
m
Thank you @Andrei Salavei but I haven’t been able to get this working. I tried with Sonnet 4.5 and it concluded: “iOS doesn’t allow apps to be truly transparent to show the home screen behind them for security and privacy reasons. This is a fundamental iOS limitation.” Is there a sample app I can check?