How do I avoid hiding the Status Bar on Xamarin.iOS when changing its text color?
After trying to change the color of my iOS Status Bar, I don't have a status bar anymore.
I remove the property I added in info.plist
, but then my status bar text color remains black.
This is what I did, following these steps:
- Updated
info.plist
adding the boolean propertyView Controller-Based Status Bar Appearance
and set it toNo
- Added in the App.cs, in my MainPage which is a NavigationPage,
BarTextColor = Color.White