Hi.
I'm trying to setup tab bar item text appearances, but the global UITabBarItem isn't accepting them
I mad a very simple assignment case, to verify this bug where this line of code fails
UITabBarItem.appearance() = UITabBarItemAppearance()
with
Cannot assign value of type 'UITabBarItemAppearance' to type 'UITabBarItem'
You can see I'm assigning to a UITabBarItemAppearance, not a UITabBarItem.
I'm making these changes as part of updating to Xcode 13, because my bar items now appear faded when normal and I want them to appear black. The font is also no longer bold. It works properly when building through any Xcode lower than 13. Before I could just do:
UITabBarItem().appeareance().setTitleTextAttributes([attributes here], for: <state>)
Now it doesn't work due to scrollEdgeAppearance
becoming necessary to set. Even if I set that in a storyboard, the appearance doesn't take effect with the above code.