FreshMvvm icon indicating copy to clipboard operation
FreshMvvm copied to clipboard

Using PushNewNavigationServiceModel, there is no way to set the statusbar textColor to white

Open UlrikSandberg opened this issue 7 years ago • 1 comments

First of all, great work with FreshMvvm love using it, though i have alittle question.

Original problem (Never fixed):

Setup rootNavigation = tabbarController -> tab1 = navigationPage -> inside navigationPage i would like to push new pageModel with hidden tabbar. This has proven very difficult, ive managed to find a solution that removes the tabbar by setting height = 0, but i'm never able to reclaim the space leftover from resizing.

So instead i've come up with a workaround which consist of using PushNewNavigationServiceModal(). This works great since it lets me hide the tabbar and navigate back, but i have one issue which i hope you can help with. Because when i use PushNewNavigationServiceModal the UIStatusBarColor changes to black and i can't seem to change the UIStatusBarColor to white, no matter what i do. Do you have any suggestions on how to change the color of this new navigation view to white or maybe if it is possible to PushNewNavigationService normally, without modal?

UlrikSandberg avatar Jul 03 '18 22:07 UlrikSandberg

why do you think that this has something to do with this library? this is general Android implementation, it has nothing to do with Freshmvvm. you should ask this question on SO or Xamarin forms. there are already several answers on this. if you want to change the color dynamically, you need to use DI to the native library and change it there.

EmilAlipiev avatar Jul 30 '18 22:07 EmilAlipiev