Hello,how do I implement dialog in iOS?
# compose-ios
u
Hello,how do I implement dialog in iOS?
m
I've been working on that for one of my libraries. Best I can find is having a top-level box to overlay the rest of the screen when a dialog is opened.
l
They added Popup to iOS compose in 1.2.0-beta01. You can use this to manually create a dialog, but you have to handle sizing and positioning. I’d recommend waiting until they add something official inside.
Or you can look at the source for the Android Dialog and see if there’s parts you can put together on iOS.
u
Thank you for your advice
a
Just in case someone interested, here is my implementation of
AlertDialog
while there is no official one - AlertDialog.ios.kt
243 Views