The backgroundColor property of UITabBar do not take effect in iOS 26.

UITabBarAppearance *appearance = UITabBarAppearance.alloc.init;
    [appearance.stackedLayoutAppearance.normal setTitleTextAttributes:@{NSForegroundColorAttributeName:UIColor.redColor}];
    [appearance.stackedLayoutAppearance.selected setTitleTextAttributes:@{NSForegroundColorAttributeName:UIColor.purpleColor}];
    appearance.backgroundColor = UIColor.redColor;
    self.tabBar.standardAppearance = appearance;
    self.tabBar.scrollEdgeAppearance = appearance;

How to resolve?

The backgroundColor property of UITabBar do not take effect in iOS 26.
 
 
Q