https://kotlinlang.org logo
#compose-ios
Title
# compose-ios
t

tylerwilson

03/02/2024, 10:50 PM
In a Compose MP app on iOS I would like to get a UIKit point/rect to show a native popup on a Compose clickable event. Anybody have an examples of this, if it is even possible?
m

mohamed rejeb

03/03/2024, 7:01 AM
If you mean showing a native iOS dialog you can use Calf or you can take a look at the code if you want to know more about using native iOS Views in Comopse MP https://github.com/MohamedRejeb/Calf?tab=readme-ov-file#adaptivealertdialog
i

Ivan Matkov

03/04/2024, 8:36 AM
Copy code
Modifier.onGloballyPositioned { it.positionInWindow() }
👍 1
4 Views