Set navigation bar theme in objective C

    UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;
    navigationController.navigationBar.barTintColor = APP_THEME_COLOR;
    navigationController.navigationBar.titleTextAttributes = [NSDictionary dictionaryWithObject:[UIColor whiteColor] forKey:NSForegroundColorAttributeName];
    navigationController.navigationBar.translucent = NO;
#define RGBCOLOR(r,g,b)   [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1.0f]
#define APP_THEME_COLOR   RGBCOLOR(24,101,121)