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>UIViewControllerBasedStatusBarAppearance</key>
Remove all ads