Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

How to change status bar color in iOS?

$
0
0

I would like to change the status bar background color and text color in iOS to match android.
I found options like this one: MainPage.SetValue(NavigationPage.BarBackgroundColorProperty, Color.Black); but it does not work.

All the other examples suggest to set the BarBackgroundColor and BarTextColor on the navigation page, but that I believe that it would apply to the navigation bar. Instead i need to change the status bar (the bar where you see the battery status, the clock etc.)

Anyone has done it before? Thx


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>