This message was deleted.
# compose
s
This message was deleted.
k
#compose-ios
p
You have to use SafeAreaInsets. Pass it to your UiViewController in kotlin and use CompositionLocal to make it available in every composable that needs it
s
Thank you
@Pablichjenkov so basically it offsets everything?
p
Yeah, per device
An easy solution is to make your root composable a column that has a Spacer with fillMaxWidth and the same height as the SafeAreaInsets.top. Then you place the Content of your App bellow it