Updating from 4.4 to 4.5 iOS status bar colour is now getting ignored.
The only change to the iOS status in this version is this PR - #8791
In my project I set the Status bar background colour, but this is now getting ignored after updating to 4.5.
// style ios navbar
UIColor barTintColor = UIColor.FromRGB(5, 60, 61);
UIColor tintColor = UIColor.White;
UINavigationBar.Appearance.BarTintColor = barTintColor;
UINavigationBar.Appearance.TintColor = tintColor;
UINavigationBar.Appearance.TitleTextAttributes = new UIStringAttributes() { ForegroundColor = UIColor.White };
UINavigationBar.Appearance.Translucent = true;
I need to use version 4.5 because I'm getting a NotImplementExeception when using 4.4 (no exception in android), but everything is fine with 4.5 except for the status bar colour.
I'd be happy with a workaround for now if anyone knows of one?
We have the exact same issue, how can a update break something like this?
We have the same issue as well.
Thanks @jsuarezruiz for the fix, just wondering if there is any time frame that this would be released in?
@jsuarezruiz @samhouts would it be available in pre-release or the nightly build for me to test?
@rmarinho is there way i can try the fix now?
you can try nighly 4.7.0.425
@rmarinho thanks, i just tried the nightly build, and I'm getting the same issue.
Same issue when upgrade to lastest XF
@rmarinho I still see the white nav bar on iOS after updating to the latest XF 4.5.0.396 package that was released two days ago. I deleted the bin and obj folders and did a full rebuild of the project after updating and before testing.
Should XF 4.5.0.396 contain the fix for this issue?
Please when is this coming out. It is not fixed in 4.5.0.396 ?
I can confirm that 4.5.0.396 still has the issue. Will there be fix for 4.5 @rmarinho ?
4.5.0.495 - issue still not fixed
Same here 4.5.0.495 - still not working for me
Same here 4.5.0.495 - still not working for me
@rmarinho can this issue be reopened? It is not fixed. Thank you.
It's definitely not fixed. I had to roll back to 4.4.0.991864 so that I can still set the color.
Please try the package in https://github.com/xamarin/Xamarin.Forms/issues/9765#issuecomment-607956957 and let us know if that resolves the issue for you. Thanks!
This bug is still active in 4.5.0.530
Not fixed for me in 4.5.0.617
@ValonK @dmarjoram Please open a new issue with a reproduction project if this is still not working after you have updated to latest. Thanks!