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

jQrgen

09/27/2023, 12:28 PM
Has anyone got documentation, a code example, or a template for implementing
WindowInsets
on Compose for iOS? I want to draw background content behind the notch. The only reference in the official blog post launching WindowInsets is a link to the Android documentation…. There is no use of
WindowInsets
in the official compose iOS example
j

Jeroen Flietstra

09/27/2023, 2:55 PM
https://terrakok.github.io/Compose-Multiplatform-Wizard/ If you download this template it has edge-to-edge for both Android and iOS. I think it comes down to ignoreSafeArea(.all) for iOS and then use the WindowInsets API for padding your content below the notch.
👍 1
j

jQrgen

09/27/2023, 3:55 PM
Hmmm.. thanks I’ll check it out
c

Colton Idle

10/01/2023, 4:17 AM
You ever resolve this @jQrgen?
j

jQrgen

10/02/2023, 10:04 PM
Nope
3 Views