TabView tint color only works if launching from XCode and disrespect colorScheme

I have a really strange problem here, where I've tried various method to change tint color, but they are only working if I launch it from XCode.

Once I relaunch it from home screen, it'll return back to light mode tint color (black text), and does not respect colorScheme when I change it manually in system settings. Accent color works just fine.

So I'm wondering what could be the reason behind it?

.onAppear{
        UITabBar.appearance().unselectedItemTintColor = UIColor.green //(or any other colors)
      }
TabView tint color only works if launching from XCode and disrespect colorScheme
 
 
Q