Post

Replies

Boosts

Views

Activity

Reply to barTintColor not working in iOS 15
In order to change it everywhere put this code into didFinishLaunchingWithOptions: if (@available(iOS 15.0, *)) {     UINavigationBarAppearance *appearance = [[UINavigationBarAppearance alloc] init];     [appearance setBackgroundColor:[UIColor grayColor]];     [[UINavigationBar appearance] setScrollEdgeAppearance:appearance];     [[UINavigationBar appearance] setStandardAppearance:appearance];     [[UINavigationBar appearance] setTintColor:[UIColor grayColor]];   }
Nov ’21