In my iPad app I have an application settings view. One of the options lets the user switch interface color scheme. The settings view is loaded by segue to a separate view
Objective-C:
self.navigationController.navigationBarHidden = YES; self.navigationController.navigationBarHidden = NO;
Swift:
self.navigationController?.isNavigationBarHidden = true self.navigationController?.isNavigationBarHidden = false