Changing UINavigationBar appearance app wide
Sometimes you want to change the appearance of the Navigation Bar across the application. This is what we did in our iKite Size application. To do that just add to your app delegate the following lines. The image we used was 320×44 and 640×88 (@2x retina), this size will totally cover the navigation bar.
@implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Override point for customization after application launch. [self enableCustomNavigationBar]; return YES; } - (void) enableCustomNavigationBar { // Set the status bar color. [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque animated:NO]; // Set the background image. UIImage *navBar = [UIImage imageNamed:@"Background.png"]; // Set the background image for all screens across the app. [[UINavigationBar appearance] setBackgroundImage:navBar forBarMetrics:UIBarMetricsDefault]; } @end