Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information. reorganizing files into recipes folder Mar 7, 2018

id title sdk
Change the Nav Bar Style

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


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;