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

Why a Forms app does not honor the UIStatusBarStyle set in plist file, just code?

$
0
0

I really like to work with xamarin forms, but when a native platform feature is just not working that can be annoying.

If I create a Xamarin iOS app and add these to the plist, I'll get a white StatusBar:

<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleLightContent</string>

If I do the same for a Xamarin Forms application, it will just not work.

What is causing this difference?!

Setting it from code of course works, but I just simple did not get it, what is the cause, which part within Xamarin Forms overrides this?

Help me to understand this please ;-)

Thanks,
Attila


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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