unselectedItemTintColor of tabBarItem in iOS 26

Hi, I am running iOS Simulator on iOS 26 and I am trying to change unselectedItemTintColor of UITabBarItem in my TabBarViewController but it did not work when I tried following ways:

  1. Setting an iconColor through UITabBarAppearance() class
  2. Setting unselected item tint color like tabBar.unselectedItemTintColor = .black

As an example attached file, I would like to set Settings tab's item color (icon + title) with different one when it is unselected.

unselectedItemTintColor of tabBarItem in iOS 26
 
 
Q