Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove the gap between status bar and page in .NET MAUI on iPhone 15

Tags:

ios

maui

I'm developing an application using .NET MAUI and I've noticed a significant gap between the status bar and the page on iPhone 15 Pro Max. However, when I run the same application on iPhone 13 Pro Max, there's no such gap. I've checked solutions shared on Stack Overflow for a similar issue White line between status bar and WebView on iPhone 14 Pro/Pro Max, but I couldn't find a solution specific to .NET MAUI framework. Do you have any suggestions on how to close this gap? Where can I find the necessary settings or platform customizations?

like image 698
Alpay Çalışır Avatar asked Oct 31 '25 10:10

Alpay Çalışır


1 Answers

How to remove the gap between status bar and page in .NET MAUI on iPhone 15

About this, you can refer to this issue on MAUI GitHub: Extra space below status bar on iPhone 14 Pro Max #16617.

And yes, it uses Handler/PlatformView (Where can I find the necessary settings or platform customizations?).

like image 187
Jianwei Sun - MSFT Avatar answered Nov 02 '25 02:11

Jianwei Sun - MSFT



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!