Subscribed unsubscribe Subscribe Subscribe

Mobile App Dev Diary

Android (Java, Kotlin), iOS (Swift), Xamarin (C#)

Xamarin.Forms / Prevent iOS statusbar is filled with background color

When you use BackgroundColor = Color.Black; or something, status bar is also filled with the color. To prevent this, add these two properties to iOS Info.plist. <key>UIStatusBarStyle</key> <string>UIStatusBarStyleLightContent</string> <key>UIViewControllerBasedStatusBarAp</key>…

Xamarin.Forms / Prevent iOS statusbar is overwrapped

To avoid iOS statusbar is hidden by UI components, use this. <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:calc" x:Class="calc.calcPage"> </contentpage>