Post

Replies

Boosts

Views

Activity

Reply to Problem with barTintColor of NavigationBar and XCode 11.4
Yes, having he same problem. This fixed it for me: // Customize the navigation controller if (@available(iOS 13, *)) { self.navigationBar.standardAppearance = [[UINavigationBarAppearance alloc] init]; [self.navigationBar.standardAppearance configureWithDefaultBackground]; self.navigationBar.standardAppearance.backgroundColor = [Branding shared].primaryColor; self.navigationBar.standardAppearance.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor]}; } else { self.navigationBar.barTintColor = [Branding shared].primaryColor; self.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor]}; } self.navigationBar.tintColor = [UIColor whiteColor]; self.navigationBar.translucent = NO;
Mar ’20