Android
iOS
 

Change the Nav Bar Style

This recipe shows how to change the style of a navigation bar.

Recipe

To change the style of the navigation bar to black set the BarStyle property of the UIViewController’s NavigationBar property:

NavigationController.NavigationBar.BarStyle = UIBarStyle.Black;

To reset to its default style, set this value to UIBarStyle.Default:

NavigationController.NavigationBar.BarStyle = UIBarStyle.Default;