After a frustrating search today, I learned that on the iPad, when in landscape mode, there's no safe area allocated for the status bar.
This is unlike Android's behaviour which allocates a Window inset for the status bar in both portrait and landscape.
So in Compose Multiplatform, when I call
statusBarsPadding()
, no padding is applied when the app is in landscape on the iPad.
Has anyone else encountered this? Please what did you try as a workaround?
PS: I'm already using
PS: The issue also happens when my iPad is portrait upside down as well. Which makes sense when you look at the source code.
a
Andrei Salavei
05/31/2024, 7:30 AM
Thank you for clarification. If on iPad does not contain top safe area, it's expected that status bar padding will be 0. We need to check possible solutions, but it will take some time.