I have a background image, the same image in all views, but the nav bar traslucent is set by default to YES and the background is not homogeneous. I tried various solutions
try this for ios 7
[self.navigationController.navigationBar setBarTintColor:[UIColor whiteColor]];
Because the AppDelegate is not a UINavigation Controller. You can do what you done on previous lines is to set the navigationbar appearance globally.
[[UINavigationBar appearance] setTranslucent:NO];
You can do that in your root view controller
//inside the root view controller
- (void)viewDidLoad
{
[super viewDidLoad];
[self.navigationController.navigationBar setTranslucent:NO];
}
Also you can toggle translucent in the interface builder. Select your Navigation Controller then in the Document Outline select the Navigation Bar and just change it in the Attributes Inspector